#D6D04C#D6D04C

#D6D04C is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 83.8% C 0.150 H 106.7°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#D6D04C
RGBrgb(214, 208, 76)
HSLhsl(57, 63%, 57%)
HSVhsv(57, 64%, 84%)
CMYKcmyk(0%, 2.8%, 64.5%, 16.1%)
CIE-LABlab(81.80, -13.68, 63.78)
CIE-LCHlch(81.80, 65.23, 102.11°)
OKLaboklab(83.84% -0.0433 0.1441)
OKLCHoklch(83.84% 0.15 106.7)
XYZxyz(51.5938, 59.9314, 15.6862)
Luminance0.5993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D04C #4C52D6
analogous
#D68B4C #D6D04C #97D64C
triadic
#D6D04C #4CD6D0 #D04CD6
tetradic
#D6D04C #4CD68B #4C52D6 #D64C97
square
#D6D04C #4CD68B #4C52D6 #D64C97
split-complementary
#D6D04C #4C97D6 #8B4CD6
monochromatic
#88841F #BAB42B #D6D04C #E1DD7E #EDEAB0

Accessibility & contrast

On white

1.62
#D6D04C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.99
#D6D04C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D04C
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D04C#FFFFFF#000000##000000
##D6D04C1.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C83B
Deuteranopia (green-blind)
#E4CE54
Tritanopia (blue-blind)
#E5C3B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d6d04c;
/* rgb */ color: rgb(214, 208, 76);
/* oklch */ color: oklch(83.8% 0.150 106.7);
Tailwind
colors: {
  custom: {
    50: '#e6de84',
    500: '#d6d04c',
    950: '#000000',
  },
}
SCSS
$custom: #d6d04c;
$custom-light: #e6de84;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d04c",
  "rgb": {
    "r": 214,
    "g": 208,
    "b": 76
  },
  "hsl": {
    "h": 57.391,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.8384,
    "c": 0.15041,
    "h": 106.7
  },
  "luminance": 0.5993
}

Semantic roles & 50–950 ramp

primary
#D6D04C
secondary
#383B8F
accent
#49E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D6D04C

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

Preview Lab → · Contrast checker → · Palette generator →

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