#DCD25D#DCD25D

#DCD25D is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.9% C 0.138 H 104.4°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#DCD25D
RGBrgb(220, 210, 93)
HSLhsl(55, 64%, 61%)
HSVhsv(55, 58%, 86%)
CMYKcmyk(0%, 4.5%, 57.7%, 13.7%)
CIE-LABlab(82.97, -11.09, 57.96)
CIE-LCHlch(82.97, 59.01, 100.83°)
OKLaboklab(84.93% -0.0344 0.1339)
OKLCHoklch(84.93% 0.138 104.4)
XYZxyz(54.5394, 62.1010, 19.4676)
Luminance0.6210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD25D #5D67DC
analogous
#DC935D #DCD25D #A7DC5D
triadic
#DCD25D #5DDCD2 #D25DDC
tetradic
#DCD25D #5DDC93 #5D67DC #DC5DA7
square
#DCD25D #5DDC93 #5D67DC #DC5DA7
split-complementary
#DCD25D #5DA7DC #935DDC
monochromatic
#9D9322 #CFC22D #DCD25D #E7E08F #F2EEC2

Accessibility & contrast

On white

1.56
#DCD25D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.42
#DCD25D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD25D
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD25D#FFFFFF#000000##000000
##DCD25D1.001.5613.4213.42
#FFFFFF1.561.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB51
Deuteranopia (green-blind)
#E6D163
Tritanopia (blue-blind)
#EBC5B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd25d;
/* rgb */ color: rgb(220, 210, 93);
/* oklch */ color: oklch(84.9% 0.138 104.4);
Tailwind
colors: {
  custom: {
    50: '#eadf8f',
    500: '#dcd25d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd25d;
$custom-light: #eadf8f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd25d",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 93
  },
  "hsl": {
    "h": 55.276,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84934,
    "c": 0.13825,
    "h": 104.4
  },
  "luminance": 0.62099
}

Semantic roles & 50–950 ramp

primary
#DCD25D
secondary
#3D45A1
accent
#27CC19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD25D

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

Preview Lab → · Contrast checker → · Palette generator →

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