#DCD08B#DCD08B

#DCD08B is a very light, moderate yellow. Relative luminance 0.622; OKLCH L 85.2% C 0.089 H 99.6°. Best body text is #000000 at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#DCD08B
RGBrgb(220, 208, 139)
HSLhsl(51, 54%, 70%)
HSVhsv(51, 37%, 86%)
CMYKcmyk(0%, 5.5%, 36.8%, 13.7%)
CIE-LABlab(83.02, -5.81, 35.78)
CIE-LCHlch(83.02, 36.25, 99.22°)
OKLaboklab(85.16% -0.0148 0.0882)
OKLCHoklch(85.16% 0.089 99.6)
XYZxyz(56.7322, 62.1930, 33.4371)
Luminance0.6219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD08B #8B97DC
analogous
#DCA78B #DCD08B #BFDC8B
triadic
#DCD08B #8BDCD0 #D08BDC
tetradic
#DCD08B #8BDCA7 #8B97DC #DC8BBF
square
#DCD08B #8BDCA7 #8B97DC #DC8BBF
split-complementary
#DCD08B #8BBFDC #A78BDC
monochromatic
#B6A337 #CEBD5C #DCD08B #EAE3BA #F8F5E7

Accessibility & contrast

On white

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

On black

13.44
#DCD08B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD08B
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD08B#FFFFFF#000000##000000
##DCD08B1.001.5613.4413.44
#FFFFFF1.561.0021.0021.00
#00000013.4421.001.001.00
##00000013.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCC86
Deuteranopia (green-blind)
#E0D18E
Tritanopia (blue-blind)
#E8C7BE
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd08b;
/* rgb */ color: rgb(220, 208, 139);
/* oklch */ color: oklch(85.2% 0.089 99.6);
Tailwind
colors: {
  custom: {
    50: '#e8dead',
    500: '#dcd08b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd08b;
$custom-light: #e8dead;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd08b",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 139
  },
  "hsl": {
    "h": 51.111,
    "s": 53.642,
    "l": 70.392
  },
  "oklch": {
    "l": 0.85157,
    "c": 0.08945,
    "h": 99.6
  },
  "luminance": 0.62191
}

Semantic roles & 50–950 ramp

primary
#DCD08B
secondary
#5866B3
accent
#3CC124
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD08B

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

Preview Lab → · Contrast checker → · Palette generator →

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