#D2D04B#D2D04B

#D2D04B is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.5% C 0.152 H 108.4°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#D2D04B
RGBrgb(210, 208, 75)
HSLhsl(59, 60%, 56%)
HSVhsv(59, 64%, 82%)
CMYKcmyk(0%, 1%, 64.3%, 17.6%)
CIE-LABlab(81.47, -15.41, 63.73)
CIE-LCHlch(81.47, 65.57, 103.59°)
OKLaboklab(83.49% -0.048 0.1439)
OKLCHoklch(83.49% 0.152 108.4)
XYZxyz(50.4059, 59.3229, 15.4505)
Luminance0.5932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D04B #4B4DD2
analogous
#D28C4B #D2D04B #90D24B
triadic
#D2D04B #4BD2D0 #D04BD2
tetradic
#D2D04B #4BD28C #4B4DD2 #D24B90
square
#D2D04B #4BD28C #4B4DD2 #D24B90
split-complementary
#D2D04B #4B90D2 #8C4BD2
monochromatic
#828121 #B3B12D #D2D04B #DEDD7C #EAEAAD

Accessibility & contrast

On white

1.63
#D2D04B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.86
#D2D04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D04B
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D04B#FFFFFF#000000##000000
##D2D04B1.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C839
Deuteranopia (green-blind)
#E2CD54
Tritanopia (blue-blind)
#E0C3B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2d04b;
/* rgb */ color: rgb(210, 208, 75);
/* oklch */ color: oklch(83.5% 0.152 108.4);
Tailwind
colors: {
  custom: {
    50: '#e3de84',
    500: '#d2d04b',
    950: '#000000',
  },
}
SCSS
$custom: #d2d04b;
$custom-light: #e3de84;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d04b",
  "rgb": {
    "r": 210,
    "g": 208,
    "b": 75
  },
  "hsl": {
    "h": 59.111,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.83494,
    "c": 0.1517,
    "h": 108.4
  },
  "luminance": 0.59321
}

Semantic roles & 50–950 ramp

primary
#D2D04B
secondary
#383989
accent
#47E345
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D04B

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

Preview Lab → · Contrast checker → · Palette generator →

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