#D9C94D#D9C94D

#D9C94D is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.6% C 0.143 H 101.9°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#D9C94D
RGBrgb(217, 201, 77)
HSLhsl(53, 65%, 58%)
HSVhsv(53, 65%, 85%)
CMYKcmyk(0%, 7.4%, 64.5%, 14.9%)
CIE-LABlab(80.22, -8.84, 61.78)
CIE-LCHlch(80.22, 62.41, 98.14°)
OKLaboklab(82.64% -0.0296 0.1399)
OKLCHoklch(82.64% 0.143 101.9)
XYZxyz(50.8435, 57.0629, 15.3558)
Luminance0.5706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C94D #4D5DD9
analogous
#D9834D #D9C94D #A3D94D
triadic
#D9C94D #4DD9C9 #C94DD9
tetradic
#D9C94D #4DD983 #4D5DD9 #D94DA3
square
#D9C94D #4DD983 #4D5DD9 #D94DA3
split-complementary
#D9C94D #4DA3D9 #834DD9
monochromatic
#8D811E #C0AF29 #D9C94D #E4D87F #EFE8B2

Accessibility & contrast

On white

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

On black

12.41
#D9C94D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C94D
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C94D#FFFFFF#000000##000000
##D9C94D1.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9c94d;
/* rgb */ color: rgb(217, 201, 77);
/* oklch */ color: oklch(82.6% 0.143 101.9);
Tailwind
colors: {
  custom: {
    50: '#e8d985',
    500: '#d9c94d',
    950: '#000000',
  },
}
SCSS
$custom: #d9c94d;
$custom-light: #e8d985;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c94d",
  "rgb": {
    "r": 217,
    "g": 201,
    "b": 77
  },
  "hsl": {
    "h": 53.143,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82642,
    "c": 0.143,
    "h": 101.9
  },
  "luminance": 0.57061
}

Semantic roles & 50–950 ramp

primary
#D9C94D
secondary
#374293
accent
#53E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D9C94D

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

Preview Lab → · Contrast checker → · Palette generator →

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