#D6D04F#D6D04F

#D6D04F is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.9% C 0.148 H 106.6°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#D6D04F
RGBrgb(214, 208, 79)
HSLhsl(57, 62%, 57%)
HSVhsv(57, 63%, 84%)
CMYKcmyk(0%, 2.8%, 63.1%, 16.1%)
CIE-LABlab(81.82, -13.50, 62.58)
CIE-LCHlch(81.82, 64.02, 102.18°)
OKLaboklab(83.87% -0.0424 0.142)
OKLCHoklch(83.87% 0.148 106.6)
XYZxyz(51.7005, 59.9741, 16.2484)
Luminance0.5997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D04F #4F55D6
analogous
#D68C4F #D6D04F #99D64F
triadic
#D6D04F #4FD6D0 #D04FD6
tetradic
#D6D04F #4FD68C #4F55D6 #D64F99
square
#D6D04F #4FD68C #4F55D6 #D64F99
split-complementary
#D6D04F #4F99D6 #8C4FD6
monochromatic
#8A8620 #BCB62C #D6D04F #E2DD81 #EDEBB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D6D04F#FFFFFF#000000##000000
##D6D04F1.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)
#E1C83F
Deuteranopia (green-blind)
#E4CE57
Tritanopia (blue-blind)
#E5C3B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d6d04f;
/* rgb */ color: rgb(214, 208, 79);
/* oklch */ color: oklch(83.9% 0.148 106.6);
Tailwind
colors: {
  custom: {
    50: '#e6de86',
    500: '#d6d04f',
    950: '#000000',
  },
}
SCSS
$custom: #d6d04f;
$custom-light: #e6de86;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d04f",
  "rgb": {
    "r": 214,
    "g": 208,
    "b": 79
  },
  "hsl": {
    "h": 57.333,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.83866,
    "c": 0.14817,
    "h": 106.6
  },
  "luminance": 0.59972
}

Semantic roles & 50–950 ramp

primary
#D6D04F
secondary
#393D90
accent
#4AE543
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D6D04F

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

Preview Lab → · Contrast checker → · Palette generator →

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