#D9B83F#D9B83F

#D9B83F is a light, vivid yellow. Relative luminance 0.494; OKLCH L 79.0% C 0.140 H 93.4°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#D9B83F
RGBrgb(217, 184, 63)
HSLhsl(47, 67%, 55%)
HSVhsv(47, 71%, 85%)
CMYKcmyk(0%, 15.2%, 71%, 14.9%)
CIE-LABlab(75.70, -0.82, 62.80)
CIE-LCHlch(75.70, 62.81, 90.75°)
OKLaboklab(79.03% -0.0083 0.1397)
OKLCHoklch(79.03% 0.14 93.4)
XYZxyz(46.6554, 49.3942, 11.7783)
Luminance0.4939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B83F #3F60D9
analogous
#D96B3F #D9B83F #ADD93F
triadic
#D9B83F #3FD9B8 #B83FD9
tetradic
#D9B83F #3FD96B #3F60D9 #D93FAD
square
#D9B83F #3FD96B #3F60D9 #D93FAD
split-complementary
#D9B83F #3FADD9 #6B3FD9
monochromatic
#846D1A #B79724 #D9B83F #E3CB72 #EDDEA5

Accessibility & contrast

On white

1.93
#D9B83F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.88
#D9B83F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B83F
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B83F#FFFFFF#000000##000000
##D9B83F1.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB52D
Deuteranopia (green-blind)
#D4BF46
Tritanopia (blue-blind)
#EAA9A0
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d9b83f;
/* rgb */ color: rgb(217, 184, 63);
/* oklch */ color: oklch(79.0% 0.140 93.4);
Tailwind
colors: {
  custom: {
    50: '#e9cc7b',
    500: '#d9b83f',
    950: '#000000',
  },
}
SCSS
$custom: #d9b83f;
$custom-light: #e9cc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b83f",
  "rgb": {
    "r": 217,
    "g": 184,
    "b": 63
  },
  "hsl": {
    "h": 47.143,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79029,
    "c": 0.13997,
    "h": 93.4
  },
  "luminance": 0.49392
}

Semantic roles & 50–950 ramp

primary
#D9B83F
secondary
#9AA7DA
accent
#63EA3E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D9B83F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D9B83F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva