#DEC96C#DEC96C

#DEC96C is a very light, moderate yellow. Relative luminance 0.584; OKLCH L 83.4% C 0.116 H 96.9°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#DEC96C
RGBrgb(222, 201, 108)
HSLhsl(49, 63%, 65%)
HSVhsv(49, 51%, 87%)
CMYKcmyk(0%, 9.5%, 51.4%, 12.9%)
CIE-LABlab(80.95, -4.51, 48.70)
CIE-LCHlch(80.95, 48.91, 95.29°)
OKLaboklab(83.43% -0.014 0.1154)
OKLCHoklch(83.43% 0.116 96.9)
XYZxyz(53.7194, 58.3878, 22.6248)
Luminance0.5839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC96C #6C81DE
analogous
#DE906C #DEC96C #BADE6C
triadic
#DEC96C #6CDEC9 #C96CDE
tetradic
#DEC96C #6CDE90 #6C81DE #DE6CBA
square
#DEC96C #6CDE90 #6C81DE #DE6CBA
split-complementary
#DEC96C #6CBADE #906CDE
monochromatic
#AA9126 #D3B73A #DEC96C #E9DB9E #F4EED0

Accessibility & contrast

On white

1.66
#DEC96C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.68
#DEC96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC96C
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC96C#FFFFFF#000000##000000
##DEC96C1.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C564
Deuteranopia (green-blind)
#DFCC70
Tritanopia (blue-blind)
#EDBDB3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dec96c;
/* rgb */ color: rgb(222, 201, 108);
/* oklch */ color: oklch(83.4% 0.116 96.9);
Tailwind
colors: {
  custom: {
    50: '#ead998',
    500: '#dec96c',
    950: '#000000',
  },
}
SCSS
$custom: #dec96c;
$custom-light: #ead998;
$custom-dark: #000000;
JSON
{
  "hex": "#dec96c",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 108
  },
  "hsl": {
    "h": 48.947,
    "s": 63.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.83429,
    "c": 0.11625,
    "h": 96.9
  },
  "luminance": 0.58386
}

Semantic roles & 50–950 ramp

primary
#DEC96C
secondary
#4256AC
accent
#3BCB1A
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DEC96C

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

Preview Lab → · Contrast checker → · Palette generator →

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