#DCD489#DCD489

#DCD489 is a very light, moderate yellow. Relative luminance 0.641; OKLCH L 85.9% C 0.096 H 103.0°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#DCD489
RGBrgb(220, 212, 137)
HSLhsl(54, 54%, 70%)
HSVhsv(54, 38%, 86%)
CMYKcmyk(0%, 3.6%, 37.7%, 13.7%)
CIE-LABlab(84.02, -8.07, 38.11)
CIE-LCHlch(84.02, 38.95, 101.96°)
OKLaboklab(85.95% -0.0215 0.0935)
OKLCHoklch(85.95% 0.096 103)
XYZxyz(57.5749, 64.1102, 33.0037)
Luminance0.6411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD489 #8991DC
analogous
#DCAB89 #DCD489 #BADC89
triadic
#DCD489 #89DCD4 #D489DC
tetradic
#DCD489 #89DCAB #8991DC #DC89BA
square
#DCD489 #89DCAB #8991DC #DC89BA
split-complementary
#DCD489 #89BADC #AB89DC
monochromatic
#B5A936 #CEC35A #DCD489 #EAE5B8 #F8F6E7

Accessibility & contrast

On white

1.52
#DCD489 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.82
#DCD489 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD489
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD489#FFFFFF#000000##000000
##DCD4891.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CF83
Deuteranopia (green-blind)
#E4D48C
Tritanopia (blue-blind)
#E8CAC1
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd489;
/* rgb */ color: rgb(220, 212, 137);
/* oklch */ color: oklch(85.9% 0.096 103.0);
Tailwind
colors: {
  custom: {
    50: '#e8e1ac',
    500: '#dcd489',
    950: '#000000',
  },
}
SCSS
$custom: #dcd489;
$custom-light: #e8e1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd489",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 137
  },
  "hsl": {
    "h": 54.217,
    "s": 54.248,
    "l": 70
  },
  "oklch": {
    "l": 0.85945,
    "c": 0.09593,
    "h": 103
  },
  "luminance": 0.64109
}

Semantic roles & 50–950 ramp

primary
#DCD489
secondary
#565FB3
accent
#33C224
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD489

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

Preview Lab → · Contrast checker → · Palette generator →

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