#DCD24D#DCD24D

#DCD24D is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.8% C 0.151 H 105.0°. Best body text is #000000 at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#DCD24D
RGBrgb(220, 210, 77)
HSLhsl(56, 67%, 58%)
HSVhsv(56, 65%, 86%)
CMYKcmyk(0%, 4.5%, 65%, 13.7%)
CIE-LABlab(82.83, -12.13, 64.60)
CIE-LCHlch(82.83, 65.73, 100.63°)
OKLaboklab(84.78% -0.0391 0.1458)
OKLCHoklch(84.78% 0.151 105)
XYZxyz(53.9034, 61.8466, 16.1179)
Luminance0.6185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD24D #4D57DC
analogous
#DC8A4D #DCD24D #9EDC4D
triadic
#DCD24D #4DDCD2 #D24DDC
tetradic
#DCD24D #4DDC8A #4D57DC #DC4D9E
square
#DCD24D #4DDC8A #4D57DC #DC4D9E
split-complementary
#DCD24D #4D9EDC #8A4DDC
monochromatic
#928A1D #C5BA27 #DCD24D #E6DF80 #F0ECB3

Accessibility & contrast

On white

1.57
#DCD24D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.37
#DCD24D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD24D
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD24D#FFFFFF#000000##000000
##DCD24D1.001.5713.3713.37
#FFFFFF1.571.0021.0021.00
#00000013.3721.001.001.00
##00000013.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB3B
Deuteranopia (green-blind)
#E7D155
Tritanopia (blue-blind)
#ECC4B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcd24d;
/* rgb */ color: rgb(220, 210, 77);
/* oklch */ color: oklch(84.8% 0.151 105.0);
Tailwind
colors: {
  custom: {
    50: '#eadf85',
    500: '#dcd24d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd24d;
$custom-light: #eadf85;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd24d",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 77
  },
  "hsl": {
    "h": 55.804,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.84783,
    "c": 0.15093,
    "h": 105
  },
  "luminance": 0.61845
}

Semantic roles & 50–950 ramp

primary
#DCD24D
secondary
#363D97
accent
#4AEA3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DCD24D

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

Preview Lab → · Contrast checker → · Palette generator →

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