#DCD88F#DCD88F

#DCD88F is a very light, moderate yellow. Relative luminance 0.663; OKLCH L 86.9% C 0.093 H 105.5°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#DCD88F
RGBrgb(220, 216, 143)
HSLhsl(57, 52%, 71%)
HSVhsv(57, 35%, 86%)
CMYKcmyk(0%, 1.8%, 35%, 13.7%)
CIE-LABlab(85.16, -9.42, 36.53)
CIE-LCHlch(85.16, 37.73, 104.46°)
OKLaboklab(86.87% -0.025 0.0901)
OKLCHoklch(86.87% 0.094 105.5)
XYZxyz(59.0297, 66.3118, 35.6712)
Luminance0.6631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD88F #8F93DC
analogous
#DCB18F #DCD88F #B9DC8F
triadic
#DCD88F #8FDCD8 #D88FDC
tetradic
#DCD88F #8FDCB1 #8F93DC #DC8FB9
square
#DCD88F #8FDCB1 #8F93DC #DC8FB9
split-complementary
#DCD88F #8FB9DC #B18FDC
monochromatic
#B7B139 #CDC860 #DCD88F #EBE8BE #F8F7E8

Accessibility & contrast

On white

1.47
#DCD88F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.26
#DCD88F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD88F
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD88F#FFFFFF#000000##000000
##DCD88F1.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D38A
Deuteranopia (green-blind)
#E6D692
Tritanopia (blue-blind)
#E7CFC6
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcd88f;
/* rgb */ color: rgb(220, 216, 143);
/* oklch */ color: oklch(86.9% 0.093 105.5);
Tailwind
colors: {
  custom: {
    50: '#e8e3b0',
    500: '#dcd88f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd88f;
$custom-light: #e8e3b0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd88f",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 143
  },
  "hsl": {
    "h": 56.883,
    "s": 52.381,
    "l": 71.176
  },
  "oklch": {
    "l": 0.86872,
    "c": 0.0935,
    "h": 105.5
  },
  "luminance": 0.66311
}

Semantic roles & 50–950 ramp

primary
#DCD88F
secondary
#5C60B3
accent
#2EC026
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD88F

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

Preview Lab → · Contrast checker → · Palette generator →

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