#DCD25B#DCD25B

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

Color values

HEX#DCD25B
RGBrgb(220, 210, 91)
HSLhsl(55, 65%, 61%)
HSVhsv(55, 59%, 86%)
CMYKcmyk(0%, 4.5%, 58.6%, 13.7%)
CIE-LABlab(82.95, -11.23, 58.82)
CIE-LCHlch(82.95, 59.89, 100.81°)
OKLaboklab(84.91% -0.035 0.1355)
OKLCHoklch(84.91% 0.14 104.5)
XYZxyz(54.4520, 62.0660, 19.0071)
Luminance0.6206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD25B #5B65DC
analogous
#DC915B #DCD25B #A5DC5B
triadic
#DCD25B #5BDCD2 #D25BDC
tetradic
#DCD25B #5BDC91 #5B65DC #DC5BA5
square
#DCD25B #5BDC91 #5B65DC #DC5BA5
split-complementary
#DCD25B #5BA5DC #915BDC
monochromatic
#9B9221 #CEC12C #DCD25B #E7E08D #F2EEC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD25B#FFFFFF#000000##000000
##DCD25B1.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)
#E3CB4E
Deuteranopia (green-blind)
#E6D161
Tritanopia (blue-blind)
#EBC5B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd25b;
/* rgb */ color: rgb(220, 210, 91);
/* oklch */ color: oklch(84.9% 0.140 104.5);
Tailwind
colors: {
  custom: {
    50: '#eadf8e',
    500: '#dcd25b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd25b;
$custom-light: #eadf8e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd25b",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 91
  },
  "hsl": {
    "h": 55.349,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.84913,
    "c": 0.13995,
    "h": 104.5
  },
  "luminance": 0.62064
}

Semantic roles & 50–950 ramp

primary
#DCD25B
secondary
#3C449F
accent
#27CD19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD25B

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

Preview Lab → · Contrast checker → · Palette generator →

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