#DCD85C#DCD85C

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

Color values

HEX#DCD85C
RGBrgb(220, 216, 92)
HSLhsl(58, 65%, 61%)
HSVhsv(58, 58%, 86%)
CMYKcmyk(0%, 1.8%, 58.2%, 13.7%)
CIE-LABlab(84.54, -14.17, 60.15)
CIE-LCHlch(84.54, 61.79, 103.25°)
OKLaboklab(86.18% -0.0433 0.1384)
OKLCHoklch(86.18% 0.145 107.4)
XYZxyz(56.0046, 65.1018, 19.7389)
Luminance0.6510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD85C #5C60DC
analogous
#DC985C #DCD85C #A0DC5C
triadic
#DCD85C #5CDCD8 #D85CDC
tetradic
#DCD85C #5CDC98 #5C60DC #DC5CA0
square
#DCD85C #5CDC98 #5C60DC #DC5CA0
split-complementary
#DCD85C #5CA0DC #985CDC
monochromatic
#9C9822 #CEC92C #DCD85C #E7E48E #F2F0C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD85C#FFFFFF#000000##000000
##DCD85C1.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)
#E8D04E
Deuteranopia (green-blind)
#EBD563
Tritanopia (blue-blind)
#EACBBD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd85c;
/* rgb */ color: rgb(220, 216, 92);
/* oklch */ color: oklch(86.2% 0.145 107.4);
Tailwind
colors: {
  custom: {
    50: '#eae38f',
    500: '#dcd85c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd85c;
$custom-light: #eae38f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd85c",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 92
  },
  "hsl": {
    "h": 58.125,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.8618,
    "c": 0.14504,
    "h": 107.4
  },
  "luminance": 0.651
}

Semantic roles & 50–950 ramp

primary
#DCD85C
secondary
#3C3FA0
accent
#1FCC19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD85C

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

Preview Lab → · Contrast checker → · Palette generator →

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