#D6D04D#D6D04D

#D6D04D 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#D6D04D
RGBrgb(214, 208, 77)
HSLhsl(57, 63%, 57%)
HSVhsv(57, 64%, 84%)
CMYKcmyk(0%, 2.8%, 64%, 16.1%)
CIE-LABlab(81.81, -13.63, 63.38)
CIE-LCHlch(81.81, 64.83, 102.13°)
OKLaboklab(83.85% -0.043 0.1434)
OKLCHoklch(83.85% 0.15 106.7)
XYZxyz(51.6288, 59.9454, 15.8708)
Luminance0.5994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D04D #4D53D6
analogous
#D68B4D #D6D04D #98D64D
triadic
#D6D04D #4DD6D0 #D04DD6
tetradic
#D6D04D #4DD68B #4D53D6 #D64D98
square
#D6D04D #4DD68B #4D53D6 #D64D98
split-complementary
#D6D04D #4D98D6 #8B4DD6
monochromatic
#898420 #BBB42B #D6D04D #E1DD7F #EDEAB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D6D04D#FFFFFF#000000##000000
##D6D04D1.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)
#E1C83C
Deuteranopia (green-blind)
#E4CE55
Tritanopia (blue-blind)
#E5C3B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d6d04d;
/* rgb */ color: rgb(214, 208, 77);
/* oklch */ color: oklch(83.8% 0.150 106.7);
Tailwind
colors: {
  custom: {
    50: '#e6de85',
    500: '#d6d04d',
    950: '#000000',
  },
}
SCSS
$custom: #d6d04d;
$custom-light: #e6de85;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d04d",
  "rgb": {
    "r": 214,
    "g": 208,
    "b": 77
  },
  "hsl": {
    "h": 57.372,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.83848,
    "c": 0.14967,
    "h": 106.7
  },
  "luminance": 0.59944
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D6D04D

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

Preview Lab → · Contrast checker → · Palette generator →

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