#D9B94F#D9B94F

#D9B94F is a light, vivid yellow. Relative luminance 0.500; OKLCH L 79.4% C 0.129 H 92.4°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#D9B94F
RGBrgb(217, 185, 79)
HSLhsl(46, 64%, 58%)
HSVhsv(46, 64%, 85%)
CMYKcmyk(0%, 14.7%, 63.6%, 14.9%)
CIE-LABlab(76.08, -0.45, 56.50)
CIE-LCHlch(76.08, 56.50, 90.46°)
OKLaboklab(79.37% -0.0053 0.129)
OKLCHoklch(79.37% 0.129 92.4)
XYZxyz(47.3778, 50.0167, 14.5543)
Luminance0.5001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B94F #4F6FD9
analogous
#D9744F #D9B94F #B4D94F
triadic
#D9B94F #4FD9B9 #B94FD9
tetradic
#D9B94F #4FD974 #4F6FD9 #D94FB4
square
#D9B94F #4FD974 #4F6FD9 #D94FB4
split-complementary
#D9B94F #4FB4D9 #744FD9
monochromatic
#8F751F #C19E2A #D9B94F #E4CD81 #EFE1B4

Accessibility & contrast

On white

1.91
#D9B94F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#D9B94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B94F
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B94F#FFFFFF#000000##000000
##D9B94F1.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB643
Deuteranopia (green-blind)
#D3C054
Tritanopia (blue-blind)
#EAABA2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d9b94f;
/* rgb */ color: rgb(217, 185, 79);
/* oklch */ color: oklch(79.4% 0.129 92.4);
Tailwind
colors: {
  custom: {
    50: '#e8cd85',
    500: '#d9b94f',
    950: '#000000',
  },
}
SCSS
$custom: #d9b94f;
$custom-light: #e8cd85;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b94f",
  "rgb": {
    "r": 217,
    "g": 185,
    "b": 79
  },
  "hsl": {
    "h": 46.087,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79372,
    "c": 0.1291,
    "h": 92.4
  },
  "luminance": 0.50014
}

Semantic roles & 50–950 ramp

primary
#D9B94F
secondary
#384D94
accent
#67E740
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D9B94F

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

Preview Lab → · Contrast checker → · Palette generator →

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