#DCD99B#DCD99B

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

Color values

HEX#DCD99B
RGBrgb(220, 217, 155)
HSLhsl(57, 48%, 74%)
HSVhsv(57, 30%, 86%)
CMYKcmyk(0%, 1.4%, 29.5%, 13.7%)
CIE-LABlab(85.61, -8.47, 31.00)
CIE-LCHlch(85.61, 32.13, 105.28°)
OKLaboklab(87.3% -0.0216 0.0775)
OKLCHoklch(87.3% 0.08 105.6)
XYZxyz(60.2448, 67.2090, 40.8030)
Luminance0.6721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD99B #9B9EDC
analogous
#DCB89B #DCD99B #BEDC9B
triadic
#DCD99B #9BDCD9 #D99BDC
tetradic
#DCD99B #9BDCB8 #9B9EDC #DC9BBE
square
#DCD99B #9BDCB8 #9B9EDC #DC9BBE
split-complementary
#DCD99B #9BBEDC #B89BDC
monochromatic
#BBB541 #CCC86E #DCD99B #ECEAC8 #F7F6E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD99B#FFFFFF#000000##000000
##DCD99B1.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)
#E4D497
Deuteranopia (green-blind)
#E5D79D
Tritanopia (blue-blind)
#E5D1C9
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcd99b;
/* rgb */ color: rgb(220, 217, 155);
/* oklch */ color: oklch(87.3% 0.080 105.6);
Tailwind
colors: {
  custom: {
    50: '#e7e4b9',
    500: '#dcd99b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd99b;
$custom-light: #e7e4b9;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd99b",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 155
  },
  "hsl": {
    "h": 57.231,
    "s": 48.148,
    "l": 73.529
  },
  "oklch": {
    "l": 0.87296,
    "c": 0.08046,
    "h": 105.6
  },
  "luminance": 0.67208
}

Semantic roles & 50–950 ramp

primary
#DCD99B
secondary
#676BB4
accent
#31BB2A
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD99B

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

Preview Lab → · Contrast checker → · Palette generator →

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