#D2D24D#D2D24D

#D2D24D is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 83.9% C 0.152 H 109.3°. Best body text is #000000 at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#D2D24D
RGBrgb(210, 210, 77)
HSLhsl(60, 60%, 56%)
HSVhsv(60, 63%, 82%)
CMYKcmyk(0%, 0%, 63.3%, 17.6%)
CIE-LABlab(82.02, -16.28, 63.50)
CIE-LCHlch(82.02, 65.55, 104.38°)
OKLaboklab(83.94% -0.0503 0.1437)
OKLCHoklch(83.94% 0.152 109.3)
XYZxyz(50.9661, 60.3321, 15.9803)
Luminance0.6033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D24D #4D4DD2
analogous
#D2904D #D2D24D #90D24D
triadic
#D2D24D #4DD2D2 #D24DD2
tetradic
#D2D24D #4DD290 #4D4DD2 #D24D90
square
#D2D24D #4DD290 #4D4DD2 #D24D90
split-complementary
#D2D24D #4D90D2 #904DD2
monochromatic
#838321 #B4B42E #D2D24D #DEDE7E #EBEBAF

Accessibility & contrast

On white

1.61
#D2D24D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.07
#D2D24D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D24D
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D24D#FFFFFF#000000##000000
##D2D24D1.001.6113.0713.07
#FFFFFF1.611.0021.0021.00
#00000013.0721.001.001.00
##00000013.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA3C
Deuteranopia (green-blind)
#E4CE56
Tritanopia (blue-blind)
#E0C5B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2d24d;
/* rgb */ color: rgb(210, 210, 77);
/* oklch */ color: oklch(83.9% 0.152 109.3);
Tailwind
colors: {
  custom: {
    50: '#e3df85',
    500: '#d2d24d',
    950: '#000000',
  },
}
SCSS
$custom: #d2d24d;
$custom-light: #e3df85;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d24d",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 77
  },
  "hsl": {
    "h": 60,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.83937,
    "c": 0.15225,
    "h": 109.3
  },
  "luminance": 0.60331
}

Semantic roles & 50–950 ramp

primary
#D2D24D
secondary
#39398A
accent
#45E345
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D24D

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

Preview Lab → · Contrast checker → · Palette generator →

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