#DCD08F#DCD08F

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

Color values

HEX#DCD08F
RGBrgb(220, 208, 143)
HSLhsl(51, 52%, 71%)
HSVhsv(51, 35%, 86%)
CMYKcmyk(0%, 5.5%, 35%, 13.7%)
CIE-LABlab(83.08, -5.34, 33.82)
CIE-LCHlch(83.08, 34.24, 98.98°)
OKLaboklab(85.23% -0.0133 0.0838)
OKLCHoklch(85.23% 0.085 99)
XYZxyz(57.0298, 62.3121, 35.0045)
Luminance0.6231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD08F #8F9BDC
analogous
#DCA98F #DCD08F #C1DC8F
triadic
#DCD08F #8FDCD0 #D08FDC
tetradic
#DCD08F #8FDCA9 #8F9BDC #DC8FC1
square
#DCD08F #8FDCA9 #8F9BDC #DC8FC1
split-complementary
#DCD08F #8FC1DC #A98FDC
monochromatic
#B7A439 #CDBC60 #DCD08F #EBE4BE #F8F5E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD08F#FFFFFF#000000##000000
##DCD08F1.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)
#DCCC8A
Deuteranopia (green-blind)
#E0D191
Tritanopia (blue-blind)
#E7C7BF
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd08f;
/* rgb */ color: rgb(220, 208, 143);
/* oklch */ color: oklch(85.2% 0.085 99.0);
Tailwind
colors: {
  custom: {
    50: '#e8deb0',
    500: '#dcd08f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd08f;
$custom-light: #e8deb0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd08f",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 143
  },
  "hsl": {
    "h": 50.649,
    "s": 52.381,
    "l": 71.176
  },
  "oklch": {
    "l": 0.85228,
    "c": 0.08482,
    "h": 99
  },
  "luminance": 0.62311
}

Semantic roles & 50–950 ramp

primary
#DCD08F
secondary
#5C69B3
accent
#3EC026
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD08F

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

Preview Lab → · Contrast checker → · Palette generator →

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