#D9C94F#D9C94F

#D9C94F is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.7% C 0.141 H 101.8°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#D9C94F
RGBrgb(217, 201, 79)
HSLhsl(53, 64%, 58%)
HSVhsv(53, 64%, 85%)
CMYKcmyk(0%, 7.4%, 63.6%, 14.9%)
CIE-LABlab(80.23, -8.71, 60.97)
CIE-LCHlch(80.23, 61.58, 98.13°)
OKLaboklab(82.66% -0.029 0.1385)
OKLCHoklch(82.66% 0.141 101.8)
XYZxyz(50.9152, 57.0916, 15.7335)
Luminance0.5709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C94F #4F5FD9
analogous
#D9844F #D9C94F #A4D94F
triadic
#D9C94F #4FD9C9 #C94FD9
tetradic
#D9C94F #4FD984 #4F5FD9 #D94FA4
square
#D9C94F #4FD984 #4F5FD9 #D94FA4
split-complementary
#D9C94F #4FA4D9 #844FD9
monochromatic
#8F821F #C1B02A #D9C94F #E4D881 #EFE8B4

Accessibility & contrast

On white

1.69
#D9C94F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#D9C94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C94F
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C94F#FFFFFF#000000##000000
##D9C94F1.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC340
Deuteranopia (green-blind)
#DFCA56
Tritanopia (blue-blind)
#E9BCAF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d9c94f;
/* rgb */ color: rgb(217, 201, 79);
/* oklch */ color: oklch(82.7% 0.141 101.8);
Tailwind
colors: {
  custom: {
    50: '#e8d986',
    500: '#d9c94f',
    950: '#000000',
  },
}
SCSS
$custom: #d9c94f;
$custom-light: #e8d986;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c94f",
  "rgb": {
    "r": 217,
    "g": 201,
    "b": 79
  },
  "hsl": {
    "h": 53.043,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82659,
    "c": 0.14148,
    "h": 101.8
  },
  "luminance": 0.5709
}

Semantic roles & 50–950 ramp

primary
#D9C94F
secondary
#384394
accent
#54E740
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D9C94F

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

Preview Lab → · Contrast checker → · Palette generator →

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