#DEC96D#DEC96D

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

Color values

HEX#DEC96D
RGBrgb(222, 201, 109)
HSLhsl(49, 63%, 65%)
HSVhsv(49, 51%, 87%)
CMYKcmyk(0%, 9.5%, 50.9%, 12.9%)
CIE-LABlab(80.97, -4.42, 48.23)
CIE-LCHlch(80.97, 48.43, 95.24°)
OKLaboklab(83.44% -0.0136 0.1145)
OKLCHoklch(83.44% 0.115 96.8)
XYZxyz(53.7729, 58.4092, 22.9066)
Luminance0.5841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC96D #6D82DE
analogous
#DE916D #DEC96D #BADE6D
triadic
#DEC96D #6DDEC9 #C96DDE
tetradic
#DEC96D #6DDE91 #6D82DE #DE6DBA
square
#DEC96D #6DDE91 #6D82DE #DE6DBA
split-complementary
#DEC96D #6DBADE #916DDE
monochromatic
#AA9226 #D3B73B #DEC96D #E9DB9F #F5EED1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEC96D#FFFFFF#000000##000000
##DEC96D1.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)
#D9C565
Deuteranopia (green-blind)
#DFCC71
Tritanopia (blue-blind)
#EDBDB4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dec96d;
/* rgb */ color: rgb(222, 201, 109);
/* oklch */ color: oklch(83.4% 0.115 96.8);
Tailwind
colors: {
  custom: {
    50: '#ead999',
    500: '#dec96d',
    950: '#000000',
  },
}
SCSS
$custom: #dec96d;
$custom-light: #ead999;
$custom-dark: #000000;
JSON
{
  "hex": "#dec96d",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 109
  },
  "hsl": {
    "h": 48.85,
    "s": 63.128,
    "l": 64.902
  },
  "oklch": {
    "l": 0.83442,
    "c": 0.11528,
    "h": 96.8
  },
  "luminance": 0.58407
}

Semantic roles & 50–950 ramp

primary
#DEC96D
secondary
#4356AC
accent
#3BCB1B
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DEC96D

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

Preview Lab → · Contrast checker → · Palette generator →

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