#D2D24A#D2D24A

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

Color values

HEX#D2D24A
RGBrgb(210, 210, 74)
HSLhsl(60, 60%, 56%)
HSVhsv(60, 65%, 82%)
CMYKcmyk(0%, 0%, 64.8%, 17.6%)
CIE-LABlab(82.00, -16.46, 64.68)
CIE-LCHlch(82.00, 66.74, 104.28°)
OKLaboklab(83.91% -0.0511 0.1458)
OKLCHoklch(83.91% 0.154 109.3)
XYZxyz(50.8626, 60.2907, 15.4352)
Luminance0.6029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D24A #4A4AD2
analogous
#D28E4A #D2D24A #8ED24A
triadic
#D2D24A #4AD2D2 #D24AD2
tetradic
#D2D24A #4AD28E #4A4AD2 #D24A8E
square
#D2D24A #4AD28E #4A4AD2 #D24A8E
split-complementary
#D2D24A #4A8ED2 #8E4AD2
monochromatic
#818120 #B2B22C #D2D24A #DEDE7B #EAEAAC

Accessibility & contrast

On white

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

On black

13.06
#D2D24A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D24A
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D24A#FFFFFF#000000##000000
##D2D24A1.001.6113.0613.06
#FFFFFF1.611.0021.0021.00
#00000013.0621.001.001.00
##00000013.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C937
Deuteranopia (green-blind)
#E4CE53
Tritanopia (blue-blind)
#E0C5B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2d24a;
/* rgb */ color: rgb(210, 210, 74);
/* oklch */ color: oklch(83.9% 0.154 109.3);
Tailwind
colors: {
  custom: {
    50: '#e3df83',
    500: '#d2d24a',
    950: '#000000',
  },
}
SCSS
$custom: #d2d24a;
$custom-light: #e3df83;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d24a",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 74
  },
  "hsl": {
    "h": 60,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.83912,
    "c": 0.15444,
    "h": 109.3
  },
  "luminance": 0.60289
}

Semantic roles & 50–950 ramp

primary
#D2D24A
secondary
#383889
accent
#44E344
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D24A

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

Preview Lab → · Contrast checker → · Palette generator →

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