#DCD08E#DCD08E

#DCD08E is a very light, moderate yellow. Relative luminance 0.623; OKLCH L 85.2% C 0.086 H 99.1°. Best body text is #000000 at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#DCD08E
RGBrgb(220, 208, 142)
HSLhsl(51, 53%, 71%)
HSVhsv(51, 35%, 86%)
CMYKcmyk(0%, 5.5%, 35.5%, 13.7%)
CIE-LABlab(83.06, -5.46, 34.31)
CIE-LCHlch(83.06, 34.74, 99.05°)
OKLaboklab(85.21% -0.0137 0.0849)
OKLCHoklch(85.21% 0.086 99.1)
XYZxyz(56.9544, 62.2819, 34.6074)
Luminance0.6228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD08E #8E9ADC
analogous
#DCA98E #DCD08E #C1DC8E
triadic
#DCD08E #8EDCD0 #D08EDC
tetradic
#DCD08E #8EDCA9 #8E9ADC #DC8EC1
square
#DCD08E #8EDCA9 #8E9ADC #DC8EC1
split-complementary
#DCD08E #8EC1DC #A98EDC
monochromatic
#B7A439 #CEBD5F #DCD08E #EAE3BD #F8F5E8

Accessibility & contrast

On white

1.56
#DCD08E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.46
#DCD08E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD08E
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD08E#FFFFFF#000000##000000
##DCD08E1.001.5613.4613.46
#FFFFFF1.561.0021.0021.00
#00000013.4621.001.001.00
##00000013.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCC89
Deuteranopia (green-blind)
#E0D190
Tritanopia (blue-blind)
#E7C7BF
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd08e;
/* rgb */ color: rgb(220, 208, 142);
/* oklch */ color: oklch(85.2% 0.086 99.1);
Tailwind
colors: {
  custom: {
    50: '#e8deaf',
    500: '#dcd08e',
    950: '#000000',
  },
}
SCSS
$custom: #dcd08e;
$custom-light: #e8deaf;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd08e",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 142
  },
  "hsl": {
    "h": 50.769,
    "s": 52.703,
    "l": 70.98
  },
  "oklch": {
    "l": 0.8521,
    "c": 0.08599,
    "h": 99.1
  },
  "luminance": 0.6228
}

Semantic roles & 50–950 ramp

primary
#DCD08E
secondary
#5B68B3
accent
#3DC025
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD08E

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

Preview Lab → · Contrast checker → · Palette generator →

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