#DCD98B#DCD98B

#DCD98B is a very light, moderate yellow. Relative luminance 0.667; OKLCH L 87.0% C 0.099 H 106.4°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#DCD98B
RGBrgb(220, 217, 139)
HSLhsl(58, 54%, 70%)
HSVhsv(58, 37%, 86%)
CMYKcmyk(0%, 1.4%, 36.8%, 13.7%)
CIE-LABlab(85.36, -10.38, 38.81)
CIE-LCHlch(85.36, 40.18, 104.98°)
OKLaboklab(87.01% -0.028 0.0952)
OKLCHoklch(87.01% 0.099 106.4)
XYZxyz(58.9890, 66.7067, 34.1893)
Luminance0.6671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD98B #8B8EDC
analogous
#DCB08B #DCD98B #B6DC8B
triadic
#DCD98B #8BDCD9 #D98BDC
tetradic
#DCD98B #8BDCB0 #8B8EDC #DC8BB6
square
#DCD98B #8BDCB0 #8B8EDC #DC8BB6
split-complementary
#DCD98B #8BB6DC #B08BDC
monochromatic
#B6B137 #CECA5C #DCD98B #EAE8BA #F8F7E7

Accessibility & contrast

On white

1.46
#DCD98B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.34
#DCD98B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD98B
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD98B#FFFFFF#000000##000000
##DCD98B1.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D385
Deuteranopia (green-blind)
#E7D78E
Tritanopia (blue-blind)
#E7D0C6
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcd98b;
/* rgb */ color: rgb(220, 217, 139);
/* oklch */ color: oklch(87.0% 0.099 106.4);
Tailwind
colors: {
  custom: {
    50: '#e8e4ae',
    500: '#dcd98b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd98b;
$custom-light: #e8e4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd98b",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 139
  },
  "hsl": {
    "h": 57.778,
    "s": 53.642,
    "l": 70.392
  },
  "oklch": {
    "l": 0.87012,
    "c": 0.09924,
    "h": 106.4
  },
  "luminance": 0.66705
}

Semantic roles & 50–950 ramp

primary
#DCD98B
secondary
#585BB3
accent
#2AC124
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD98B

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

Preview Lab → · Contrast checker → · Palette generator →

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