#DCDA8F#DCDA8F

#DCDA8F is a very light, moderate yellow. Relative luminance 0.673; OKLCH L 87.3% C 0.096 H 106.9°. Best body text is #000000 at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#DCDA8F
RGBrgb(220, 218, 143)
HSLhsl(58, 52%, 71%)
HSVhsv(58, 35%, 86%)
CMYKcmyk(0%, 0.9%, 35%, 13.7%)
CIE-LABlab(85.68, -10.43, 37.21)
CIE-LCHlch(85.68, 38.64, 105.66°)
OKLaboklab(87.29% -0.0279 0.0917)
OKLCHoklch(87.29% 0.096 106.9)
XYZxyz(59.5452, 67.3428, 35.8430)
Luminance0.6734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDA8F #8F91DC
analogous
#DCB38F #DCDA8F #B7DC8F
triadic
#DCDA8F #8FDCDA #DA8FDC
tetradic
#DCDA8F #8FDCB3 #8F91DC #DC8FB7
square
#DCDA8F #8FDCB3 #8F91DC #DC8FB7
split-complementary
#DCDA8F #8FB7DC #B38FDC
monochromatic
#B7B439 #CDCB60 #DCDA8F #EBE9BE #F8F7E8

Accessibility & contrast

On white

1.45
#DCDA8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.47
#DCDA8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDA8F
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDA8F#FFFFFF#000000##000000
##DCDA8F1.001.4514.4714.47
#FFFFFF1.451.0021.0021.00
#00000014.4721.001.001.00
##00000014.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D48A
Deuteranopia (green-blind)
#E8D892
Tritanopia (blue-blind)
#E7D1C7
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcda8f;
/* rgb */ color: rgb(220, 218, 143);
/* oklch */ color: oklch(87.3% 0.096 106.9);
Tailwind
colors: {
  custom: {
    50: '#e8e5b0',
    500: '#dcda8f',
    950: '#000000',
  },
}
SCSS
$custom: #dcda8f;
$custom-light: #e8e5b0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcda8f",
  "rgb": {
    "r": 220,
    "g": 218,
    "b": 143
  },
  "hsl": {
    "h": 58.442,
    "s": 52.381,
    "l": 71.176
  },
  "oklch": {
    "l": 0.87286,
    "c": 0.09582,
    "h": 106.9
  },
  "luminance": 0.67342
}

Semantic roles & 50–950 ramp

primary
#DCDA8F
secondary
#5C5EB3
accent
#2AC026
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCDA8F

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

Preview Lab → · Contrast checker → · Palette generator →

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