#D2D24F#D2D24F

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

Color values

HEX#D2D24F
RGBrgb(210, 210, 79)
HSLhsl(60, 59%, 57%)
HSVhsv(60, 62%, 82%)
CMYKcmyk(0%, 0%, 62.4%, 17.6%)
CIE-LABlab(82.03, -16.16, 62.70)
CIE-LCHlch(82.03, 64.75, 104.45°)
OKLaboklab(83.96% -0.0497 0.1423)
OKLCHoklch(83.96% 0.151 109.3)
XYZxyz(51.0378, 60.3608, 16.3579)
Luminance0.6036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D24F #4F4FD2
analogous
#D2914F #D2D24F #91D24F
triadic
#D2D24F #4FD2D2 #D24FD2
tetradic
#D2D24F #4FD291 #4F4FD2 #D24F91
square
#D2D24F #4FD291 #4F4FD2 #D24F91
split-complementary
#D2D24F #4F91D2 #914FD2
monochromatic
#858522 #B5B52E #D2D24F #DEDE80 #EBEBB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D24F#FFFFFF#000000##000000
##D2D24F1.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)
#E2CA3E
Deuteranopia (green-blind)
#E4CE57
Tritanopia (blue-blind)
#E0C5B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2d24f;
/* rgb */ color: rgb(210, 210, 79);
/* oklch */ color: oklch(84.0% 0.151 109.3);
Tailwind
colors: {
  custom: {
    50: '#e3df86',
    500: '#d2d24f',
    950: '#000000',
  },
}
SCSS
$custom: #d2d24f;
$custom-light: #e3df86;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d24f",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 79
  },
  "hsl": {
    "h": 60,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.83955,
    "c": 0.15076,
    "h": 109.3
  },
  "luminance": 0.60359
}

Semantic roles & 50–950 ramp

primary
#D2D24F
secondary
#3A3A8C
accent
#45E245
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D24F

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

Preview Lab → · Contrast checker → · Palette generator →

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