#DCD85B#DCD85B

#DCD85B is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.2% C 0.146 H 107.4°. Best body text is #000000 at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#DCD85B
RGBrgb(220, 216, 91)
HSLhsl(58, 65%, 61%)
HSVhsv(58, 59%, 86%)
CMYKcmyk(0%, 1.8%, 58.6%, 13.7%)
CIE-LABlab(84.53, -14.24, 60.57)
CIE-LCHlch(84.53, 62.22, 103.23°)
OKLaboklab(86.17% -0.0436 0.1392)
OKLCHoklch(86.17% 0.146 107.4)
XYZxyz(55.9611, 65.0844, 19.5102)
Luminance0.6508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD85B #5B5FDC
analogous
#DC975B #DCD85B #9FDC5B
triadic
#DCD85B #5BDCD8 #D85BDC
tetradic
#DCD85B #5BDC97 #5B5FDC #DC5B9F
square
#DCD85B #5BDC97 #5B5FDC #DC5B9F
split-complementary
#DCD85B #5B9FDC #975BDC
monochromatic
#9B9821 #CEC92C #DCD85B #E7E48D #F2F0C0

Accessibility & contrast

On white

1.50
#DCD85B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.02
#DCD85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD85B
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD85B#FFFFFF#000000##000000
##DCD85B1.001.5014.0214.02
#FFFFFF1.501.0021.0021.00
#00000014.0221.001.001.00
##00000014.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D04D
Deuteranopia (green-blind)
#EBD562
Tritanopia (blue-blind)
#EBCBBD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd85b;
/* rgb */ color: rgb(220, 216, 91);
/* oklch */ color: oklch(86.2% 0.146 107.4);
Tailwind
colors: {
  custom: {
    50: '#eae38e',
    500: '#dcd85b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd85b;
$custom-light: #eae38e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd85b",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 91
  },
  "hsl": {
    "h": 58.14,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.8617,
    "c": 0.14587,
    "h": 107.4
  },
  "luminance": 0.65083
}

Semantic roles & 50–950 ramp

primary
#DCD85B
secondary
#3C3F9F
accent
#1ECD19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD85B

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

Preview Lab → · Contrast checker → · Palette generator →

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