#DCD24A#DCD24A

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

Color values

HEX#DCD24A
RGBrgb(220, 210, 74)
HSLhsl(56, 68%, 58%)
HSVhsv(56, 66%, 86%)
CMYKcmyk(0%, 4.5%, 66.4%, 13.7%)
CIE-LABlab(82.81, -12.30, 65.77)
CIE-LCHlch(82.81, 66.91, 100.59°)
OKLaboklab(84.76% -0.0399 0.1478)
OKLCHoklch(84.76% 0.153 105.1)
XYZxyz(53.7999, 61.8052, 15.5729)
Luminance0.6180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD24A #4A54DC
analogous
#DC894A #DCD24A #9DDC4A
triadic
#DCD24A #4ADCD2 #D24ADC
tetradic
#DCD24A #4ADC89 #4A54DC #DC4A9D
square
#DCD24A #4ADC89 #4A54DC #DC4A9D
split-complementary
#DCD24A #4A9DDC #894ADC
monochromatic
#90881C #C3B826 #DCD24A #E6DF7D #F0EBB1

Accessibility & contrast

On white

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

On black

13.36
#DCD24A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD24A
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD24A#FFFFFF#000000##000000
##DCD24A1.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB37
Deuteranopia (green-blind)
#E7D153
Tritanopia (blue-blind)
#ECC4B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcd24a;
/* rgb */ color: rgb(220, 210, 74);
/* oklch */ color: oklch(84.8% 0.153 105.1);
Tailwind
colors: {
  custom: {
    50: '#eadf84',
    500: '#dcd24a',
    950: '#000000',
  },
}
SCSS
$custom: #dcd24a;
$custom-light: #eadf84;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd24a",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 74
  },
  "hsl": {
    "h": 55.89,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.84758,
    "c": 0.15306,
    "h": 105.1
  },
  "luminance": 0.61803
}

Semantic roles & 50–950 ramp

primary
#DCD24A
secondary
#353C95
accent
#49EA3D
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DCD24A

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

Preview Lab → · Contrast checker → · Palette generator →

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