#D2D924#D2D924

#D2D924 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.2% C 0.181 H 112.1°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#D2D924
RGBrgb(210, 217, 36)
HSLhsl(62, 72%, 50%)
HSVhsv(62, 83%, 85%)
CMYKcmyk(3.2%, 0%, 83.4%, 14.9%)
CIE-LABlab(83.68, -21.48, 78.18)
CIE-LCHlch(83.68, 81.07, 105.36°)
OKLaboklab(85.2% -0.0682 0.168)
OKLCHoklch(85.2% 0.181 112.1)
XYZxyz(51.7115, 63.4561, 11.1929)
Luminance0.6345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D924 #2B24D9
analogous
#D98524 #D2D924 #78D924
triadic
#D2D924 #24D2D9 #D924D2
tetradic
#D2D924 #24D985 #2B24D9 #D92478
square
#D2D924 #24D985 #2B24D9 #D92478
split-complementary
#D2D924 #2478D9 #8524D9
monochromatic
#6C7013 #9FA51B #D2D924 #DEE357 #E8EC8C

Accessibility & contrast

On white

1.53
#D2D924 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.69
#D2D924 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D924
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D924#FFFFFF#000000##000000
##D2D9241.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EACF00
Deuteranopia (green-blind)
#EBD338
Tritanopia (blue-blind)
#E1CBBA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d924;
/* rgb */ color: rgb(210, 217, 36);
/* oklch */ color: oklch(85.2% 0.181 112.1);
Tailwind
colors: {
  custom: {
    50: '#e4e473',
    500: '#d2d924',
    950: '#000000',
  },
}
SCSS
$custom: #d2d924;
$custom-light: #e4e473;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d924",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 36
  },
  "hsl": {
    "h": 62.32,
    "s": 71.542,
    "l": 49.608
  },
  "oklch": {
    "l": 0.85198,
    "c": 0.18133,
    "h": 112.1
  },
  "luminance": 0.63455
}

Semantic roles & 50–950 ramp

primary
#D2D924
secondary
#2B2879
accent
#3AEE41
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#161509
muted
#85847D

Preview Lab

Preview with #D2D924

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

Preview Lab → · Contrast checker → · Palette generator →

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