#948310

A color in the Yellow, Gold family

#948310 is a color in the Yellow, Gold family: RGB(148, 131, 16), HSL(52°, 80%, 32%), CMYK(0%, 11%, 89%, 42%). Closest named color: olive. Contrast is 3.81:1 on white and 5.51:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#948310
RGBrgb(148 131 16)
RGB (legacy)rgb(148, 131, 16)
RGB %rgb(58% 51% 6%)
HSLhsl(52 80% 32%)
HSV / HSBhsv(52, 89%, 58%)
HWBhwb(52 6% 42%)
CMYKcmyk(0%, 11%, 89%, 42%)
CIELAB (D50)lab(54.96 -1.6 56.19)
LCHlch(54.96 56.22 91.63)
OKLaboklab(0.6072 -0.0207 0.1203)
OKLCHoklch(0.6072 0.1221 99.75)
Decimal9732880

Properties

Color ToneYellow, Gold
Closest named colorolive ΔE 3.5
Closest web-safe color#999900
Hue52°
Saturation (HSL / HSV)80% / 89%
Lightness (HSL)32%
Brightness or Value (HSV)58%
Luminance (Rec.601 / Rec.709)48% / 50%
Relative luminance (WCAG)0.2257
Red / Green / Blue148 / 131 / 16

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.81:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.51:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 65.4 / -36.2 · As background with white / black text: Lc -71 / 38.6

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #948310;
  --color-brand-oklch: oklch(60.72% 0.1221 99.75);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(148 131 16 / 50%); }
/* Tailwind CSS */
<div class="bg-[#948310] text-[#948310] border-[#948310]">