#D2D04D#D2D04D

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

Color values

HEX#D2D04D
RGBrgb(210, 208, 77)
HSLhsl(59, 60%, 56%)
HSVhsv(59, 63%, 82%)
CMYKcmyk(0%, 1%, 63.3%, 17.6%)
CIE-LABlab(81.48, -15.29, 62.94)
CIE-LCHlch(81.48, 64.77, 103.65°)
OKLaboklab(83.51% -0.0474 0.1425)
OKLCHoklch(83.51% 0.15 108.4)
XYZxyz(50.4754, 59.3507, 15.8167)
Luminance0.5935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D04D #4D4FD2
analogous
#D28E4D #D2D04D #92D24D
triadic
#D2D04D #4DD2D0 #D04DD2
tetradic
#D2D04D #4DD28E #4D4FD2 #D24D92
square
#D2D04D #4DD28E #4D4FD2 #D24D92
split-complementary
#D2D04D #4D92D2 #8E4DD2
monochromatic
#838221 #B4B22E #D2D04D #DEDD7E #EBEAAF

Accessibility & contrast

On white

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

On black

12.87
#D2D04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D04D
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D04D#FFFFFF#000000##000000
##D2D04D1.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2d04d;
/* rgb */ color: rgb(210, 208, 77);
/* oklch */ color: oklch(83.5% 0.150 108.4);
Tailwind
colors: {
  custom: {
    50: '#e3de85',
    500: '#d2d04d',
    950: '#000000',
  },
}
SCSS
$custom: #d2d04d;
$custom-light: #e3de85;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d04d",
  "rgb": {
    "r": 210,
    "g": 208,
    "b": 77
  },
  "hsl": {
    "h": 59.098,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.83511,
    "c": 0.15023,
    "h": 108.4
  },
  "luminance": 0.59349
}

Semantic roles & 50–950 ramp

primary
#D2D04D
secondary
#393A8A
accent
#47E345
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D04D

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

Preview Lab → · Contrast checker → · Palette generator →

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