#DCD25A#DCD25A

#DCD25A is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.9% C 0.141 H 104.5°. Best body text is #000000 at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#DCD25A
RGBrgb(220, 210, 90)
HSLhsl(55, 65%, 61%)
HSVhsv(55, 59%, 86%)
CMYKcmyk(0%, 4.5%, 59.1%, 13.7%)
CIE-LABlab(82.94, -11.30, 59.25)
CIE-LCHlch(82.94, 60.32, 100.80°)
OKLaboklab(84.9% -0.0353 0.1363)
OKLCHoklch(84.9% 0.141 104.5)
XYZxyz(54.4091, 62.0489, 18.7815)
Luminance0.6205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD25A #5A64DC
analogous
#DC915A #DCD25A #A5DC5A
triadic
#DCD25A #5ADCD2 #D25ADC
tetradic
#DCD25A #5ADC91 #5A64DC #DC5AA5
square
#DCD25A #5ADC91 #5A64DC #DC5AA5
split-complementary
#DCD25A #5AA5DC #915ADC
monochromatic
#9B9121 #CDC12C #DCD25A #E7E08C #F1EEBF

Accessibility & contrast

On white

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

On black

13.41
#DCD25A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD25A
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD25A#FFFFFF#000000##000000
##DCD25A1.001.5713.4113.41
#FFFFFF1.571.0021.0021.00
#00000013.4121.001.001.00
##00000013.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB4D
Deuteranopia (green-blind)
#E6D161
Tritanopia (blue-blind)
#EBC5B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcd25a;
/* rgb */ color: rgb(220, 210, 90);
/* oklch */ color: oklch(84.9% 0.141 104.5);
Tailwind
colors: {
  custom: {
    50: '#eadf8d',
    500: '#dcd25a',
    950: '#000000',
  },
}
SCSS
$custom: #dcd25a;
$custom-light: #eadf8d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd25a",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 90
  },
  "hsl": {
    "h": 55.385,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.84903,
    "c": 0.14079,
    "h": 104.5
  },
  "luminance": 0.62047
}

Semantic roles & 50–950 ramp

primary
#DCD25A
secondary
#3B439F
accent
#27CD19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #DCD25A

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

Preview Lab → · Contrast checker → · Palette generator →

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