#DCD85A#DCD85A

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

Color values

HEX#DCD85A
RGBrgb(220, 216, 90)
HSLhsl(58, 65%, 61%)
HSVhsv(58, 59%, 86%)
CMYKcmyk(0%, 1.8%, 59.1%, 13.7%)
CIE-LABlab(84.52, -14.31, 60.99)
CIE-LCHlch(84.52, 62.65, 103.20°)
OKLaboklab(86.16% -0.0439 0.14)
OKLCHoklch(86.16% 0.147 107.4)
XYZxyz(55.9183, 65.0672, 19.2845)
Luminance0.6507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD85A #5A5EDC
analogous
#DC975A #DCD85A #9FDC5A
triadic
#DCD85A #5ADCD8 #D85ADC
tetradic
#DCD85A #5ADC97 #5A5EDC #DC5A9F
square
#DCD85A #5ADC97 #5A5EDC #DC5A9F
split-complementary
#DCD85A #5A9FDC #975ADC
monochromatic
#9B9721 #CDC82C #DCD85A #E7E48C #F1F0BF

Accessibility & contrast

On white

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

On black

14.01
#DCD85A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD85A
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD85A#FFFFFF#000000##000000
##DCD85A1.001.5014.0114.01
#FFFFFF1.501.0021.0021.00
#00000014.0121.001.001.00
##00000014.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd85a;
/* rgb */ color: rgb(220, 216, 90);
/* oklch */ color: oklch(86.2% 0.147 107.4);
Tailwind
colors: {
  custom: {
    50: '#eae38d',
    500: '#dcd85a',
    950: '#000000',
  },
}
SCSS
$custom: #dcd85a;
$custom-light: #eae38d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd85a",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 90
  },
  "hsl": {
    "h": 58.154,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.8616,
    "c": 0.1467,
    "h": 107.4
  },
  "luminance": 0.65066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCD85A

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

Preview Lab → · Contrast checker → · Palette generator →

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