#D9CC46#D9CC46

#D9CC46 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.2% C 0.151 H 103.7°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#D9CC46
RGBrgb(217, 204, 70)
HSLhsl(55, 66%, 56%)
HSVhsv(55, 68%, 85%)
CMYKcmyk(0%, 6%, 67.7%, 14.9%)
CIE-LABlab(80.95, -10.75, 65.36)
CIE-LCHlch(80.95, 66.23, 99.34°)
OKLaboklab(83.21% -0.0358 0.1463)
OKLCHoklch(83.21% 0.151 103.7)
XYZxyz(51.3157, 58.3817, 14.3589)
Luminance0.5838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CC46 #4653D9
analogous
#D98346 #D9CC46 #9DD946
triadic
#D9CC46 #46D9CC #CC46D9
tetradic
#D9CC46 #46D983 #4653D9 #D9469D
square
#D9CC46 #46D983 #4653D9 #D9469D
split-complementary
#D9CC46 #469DD9 #8346D9
monochromatic
#897F1C #BBAE26 #D9CC46 #E3DA79 #EEE8AC

Accessibility & contrast

On white

1.66
#D9CC46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.68
#D9CC46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CC46
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CC46#FFFFFF#000000##000000
##D9CC461.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC533
Deuteranopia (green-blind)
#E2CC4E
Tritanopia (blue-blind)
#E9BEB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d9cc46;
/* rgb */ color: rgb(217, 204, 70);
/* oklch */ color: oklch(83.2% 0.151 103.7);
Tailwind
colors: {
  custom: {
    50: '#e8db81',
    500: '#d9cc46',
    950: '#000000',
  },
}
SCSS
$custom: #d9cc46;
$custom-light: #e8db81;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cc46",
  "rgb": {
    "r": 217,
    "g": 204,
    "b": 70
  },
  "hsl": {
    "h": 54.694,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.83209,
    "c": 0.15065,
    "h": 103.7
  },
  "luminance": 0.5838
}

Semantic roles & 50–950 ramp

primary
#D9CC46
secondary
#353D8F
accent
#4EE93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #D9CC46

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

Preview Lab → · Contrast checker → · Palette generator →

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