#DCDA8B#DCDA8B

#DCDA8B is a very light, moderate yellow. Relative luminance 0.672; OKLCH L 87.2% C 0.100 H 107.1°. Best body text is #000000 at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#DCDA8B
RGBrgb(220, 218, 139)
HSLhsl(59, 54%, 70%)
HSVhsv(59, 37%, 86%)
CMYKcmyk(0%, 0.9%, 36.8%, 13.7%)
CIE-LABlab(85.62, -10.89, 39.15)
CIE-LCHlch(85.62, 40.63, 105.54°)
OKLaboklab(87.22% -0.0294 0.096)
OKLCHoklch(87.22% 0.1 107.1)
XYZxyz(59.2476, 67.2238, 34.2755)
Luminance0.6722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDA8B #8B8DDC
analogous
#DCB28B #DCDA8B #B5DC8B
triadic
#DCDA8B #8BDCDA #DA8BDC
tetradic
#DCDA8B #8BDCB2 #8B8DDC #DC8BB5
square
#DCDA8B #8BDCB2 #8B8DDC #DC8BB5
split-complementary
#DCDA8B #8BB5DC #B28BDC
monochromatic
#B6B337 #CECB5C #DCDA8B #EAE9BA #F8F8E7

Accessibility & contrast

On white

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

On black

14.44
#DCDA8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDA8B
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDA8B#FFFFFF#000000##000000
##DCDA8B1.001.4514.4414.44
#FFFFFF1.451.0021.0021.00
#00000014.4421.001.001.00
##00000014.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D485
Deuteranopia (green-blind)
#E8D88E
Tritanopia (blue-blind)
#E7D1C6
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcda8b;
/* rgb */ color: rgb(220, 218, 139);
/* oklch */ color: oklch(87.2% 0.100 107.1);
Tailwind
colors: {
  custom: {
    50: '#e8e5ae',
    500: '#dcda8b',
    950: '#000000',
  },
}
SCSS
$custom: #dcda8b;
$custom-light: #e8e5ae;
$custom-dark: #000000;
JSON
{
  "hex": "#dcda8b",
  "rgb": {
    "r": 220,
    "g": 218,
    "b": 139
  },
  "hsl": {
    "h": 58.519,
    "s": 53.642,
    "l": 70.392
  },
  "oklch": {
    "l": 0.87219,
    "c": 0.10039,
    "h": 107.1
  },
  "luminance": 0.67223
}

Semantic roles & 50–950 ramp

primary
#DCDA8B
secondary
#585AB3
accent
#28C124
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCDA8B

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

Preview Lab → · Contrast checker → · Palette generator →

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