#DCD25C#DCD25C

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

Color values

HEX#DCD25C
RGBrgb(220, 210, 92)
HSLhsl(55, 65%, 61%)
HSVhsv(55, 58%, 86%)
CMYKcmyk(0%, 4.5%, 58.2%, 13.7%)
CIE-LABlab(82.96, -11.16, 58.39)
CIE-LCHlch(82.96, 59.45, 100.82°)
OKLaboklab(84.92% -0.0347 0.1347)
OKLCHoklch(84.92% 0.139 104.5)
XYZxyz(54.4954, 62.0834, 19.2358)
Luminance0.6208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD25C #5C66DC
analogous
#DC925C #DCD25C #A6DC5C
triadic
#DCD25C #5CDCD2 #D25CDC
tetradic
#DCD25C #5CDC92 #5C66DC #DC5CA6
square
#DCD25C #5CDC92 #5C66DC #DC5CA6
split-complementary
#DCD25C #5CA6DC #925CDC
monochromatic
#9C9322 #CEC22C #DCD25C #E7E08E #F2EEC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD25C#FFFFFF#000000##000000
##DCD25C1.001.5713.4213.42
#FFFFFF1.571.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd25c;
/* rgb */ color: rgb(220, 210, 92);
/* oklch */ color: oklch(84.9% 0.139 104.5);
Tailwind
colors: {
  custom: {
    50: '#eadf8e',
    500: '#dcd25c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd25c;
$custom-light: #eadf8e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd25c",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 92
  },
  "hsl": {
    "h": 55.313,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.84923,
    "c": 0.1391,
    "h": 104.5
  },
  "luminance": 0.62082
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCD25C

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

Preview Lab → · Contrast checker → · Palette generator →

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