#D9CC4E#D9CC4E

#D9CC4E is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.3% C 0.145 H 103.4°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#D9CC4E
RGBrgb(217, 204, 78)
HSLhsl(54, 65%, 58%)
HSVhsv(54, 64%, 85%)
CMYKcmyk(0%, 6%, 64.1%, 14.9%)
CIE-LABlab(81.01, -10.30, 62.21)
CIE-LCHlch(81.01, 63.05, 99.40°)
OKLaboklab(83.28% -0.0336 0.141)
OKLCHoklch(83.28% 0.145 103.4)
XYZxyz(51.5853, 58.4895, 15.7786)
Luminance0.5849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CC4E #4E5BD9
analogous
#D9864E #D9CC4E #A1D94E
triadic
#D9CC4E #4ED9CC #CC4ED9
tetradic
#D9CC4E #4ED986 #4E5BD9 #D94EA1
square
#D9CC4E #4ED986 #4E5BD9 #D94EA1
split-complementary
#D9CC4E #4EA1D9 #864ED9
monochromatic
#8E841F #C0B229 #D9CC4E #E4DB80 #EFE9B3

Accessibility & contrast

On white

1.65
#D9CC4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.70
#D9CC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CC4E
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CC4E#FFFFFF#000000##000000
##D9CC4E1.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC63E
Deuteranopia (green-blind)
#E2CC55
Tritanopia (blue-blind)
#E9BFB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d9cc4e;
/* rgb */ color: rgb(217, 204, 78);
/* oklch */ color: oklch(83.3% 0.145 103.4);
Tailwind
colors: {
  custom: {
    50: '#e8db85',
    500: '#d9cc4e',
    950: '#000000',
  },
}
SCSS
$custom: #d9cc4e;
$custom-light: #e8db85;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cc4e",
  "rgb": {
    "r": 217,
    "g": 204,
    "b": 78
  },
  "hsl": {
    "h": 54.388,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.83276,
    "c": 0.14492,
    "h": 103.4
  },
  "luminance": 0.58488
}

Semantic roles & 50–950 ramp

primary
#D9CC4E
secondary
#384094
accent
#50E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D9CC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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