#DCD24F#DCD24F

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

Color values

HEX#DCD24F
RGBrgb(220, 210, 79)
HSLhsl(56, 67%, 59%)
HSVhsv(56, 64%, 86%)
CMYKcmyk(0%, 4.5%, 64.1%, 13.7%)
CIE-LABlab(82.85, -12.01, 63.81)
CIE-LCHlch(82.85, 64.93, 100.66°)
OKLaboklab(84.8% -0.0386 0.1444)
OKLCHoklch(84.8% 0.149 105)
XYZxyz(53.9751, 61.8753, 16.4956)
Luminance0.6187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD24F #4F59DC
analogous
#DC8B4F #DCD24F #9FDC4F
triadic
#DCD24F #4FDCD2 #D24FDC
tetradic
#DCD24F #4FDC8B #4F59DC #DC4F9F
square
#DCD24F #4FDC8B #4F59DC #DC4F9F
split-complementary
#DCD24F #4F9FDC #8B4FDC
monochromatic
#938B1D #C6BB27 #DCD24F #E6DF82 #F0ECB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD24F#FFFFFF#000000##000000
##DCD24F1.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)
#E3CB3E
Deuteranopia (green-blind)
#E7D157
Tritanopia (blue-blind)
#ECC5B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcd24f;
/* rgb */ color: rgb(220, 210, 79);
/* oklch */ color: oklch(84.8% 0.149 105.0);
Tailwind
colors: {
  custom: {
    50: '#eadf86',
    500: '#dcd24f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd24f;
$custom-light: #eadf86;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd24f",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 79
  },
  "hsl": {
    "h": 55.745,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.848,
    "c": 0.14946,
    "h": 105
  },
  "luminance": 0.61873
}

Semantic roles & 50–950 ramp

primary
#DCD24F
secondary
#373E98
accent
#4AEA3E
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD24F

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

Preview Lab → · Contrast checker → · Palette generator →

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