#DCD98A#DCD98A

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

Color values

HEX#DCD98A
RGBrgb(220, 217, 138)
HSLhsl(58, 54%, 70%)
HSVhsv(58, 37%, 86%)
CMYKcmyk(0%, 1.4%, 37.3%, 13.7%)
CIE-LABlab(85.34, -10.49, 39.30)
CIE-LCHlch(85.34, 40.67, 104.95°)
OKLaboklab(87% -0.0284 0.0963)
OKLCHoklch(87% 0.1 106.4)
XYZxyz(58.9163, 66.6776, 33.8063)
Luminance0.6668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD98A #8A8DDC
analogous
#DCB08A #DCD98A #B6DC8A
triadic
#DCD98A #8ADCD9 #D98ADC
tetradic
#DCD98A #8ADCB0 #8A8DDC #DC8AB6
square
#DCD98A #8ADCB0 #8A8DDC #DC8AB6
split-complementary
#DCD98A #8AB6DC #B08ADC
monochromatic
#B5B136 #CECA5B #DCD98A #EAE8B9 #F8F7E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD98A#FFFFFF#000000##000000
##DCD98A1.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)
#E5D384
Deuteranopia (green-blind)
#E7D78D
Tritanopia (blue-blind)
#E7CFC5
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcd98a;
/* rgb */ color: rgb(220, 217, 138);
/* oklch */ color: oklch(87.0% 0.100 106.4);
Tailwind
colors: {
  custom: {
    50: '#e8e4ad',
    500: '#dcd98a',
    950: '#000000',
  },
}
SCSS
$custom: #dcd98a;
$custom-light: #e8e4ad;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd98a",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 138
  },
  "hsl": {
    "h": 57.805,
    "s": 53.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.86995,
    "c": 0.10037,
    "h": 106.4
  },
  "luminance": 0.66676
}

Semantic roles & 50–950 ramp

primary
#DCD98A
secondary
#575AB3
accent
#2AC124
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD98A

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

Preview Lab → · Contrast checker → · Palette generator →

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