#DEC96B#DEC96B

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

Color values

HEX#DEC96B
RGBrgb(222, 201, 107)
HSLhsl(49, 64%, 65%)
HSVhsv(49, 52%, 87%)
CMYKcmyk(0%, 9.5%, 51.8%, 12.9%)
CIE-LABlab(80.94, -4.59, 49.17)
CIE-LCHlch(80.94, 49.38, 95.34°)
OKLaboklab(83.42% -0.0143 0.1164)
OKLCHoklch(83.42% 0.117 97)
XYZxyz(53.6665, 58.3666, 22.3461)
Luminance0.5836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC96B #6B80DE
analogous
#DE8F6B #DEC96B #BADE6B
triadic
#DEC96B #6BDEC9 #C96BDE
tetradic
#DEC96B #6BDE8F #6B80DE #DE6BBA
square
#DEC96B #6BDE8F #6B80DE #DE6BBA
split-complementary
#DEC96B #6BBADE #8F6BDE
monochromatic
#A99126 #D3B739 #DEC96B #E9DB9D #F4EECF

Accessibility & contrast

On white

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

On black

12.67
#DEC96B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC96B
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC96B#FFFFFF#000000##000000
##DEC96B1.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dec96b;
/* rgb */ color: rgb(222, 201, 107);
/* oklch */ color: oklch(83.4% 0.117 97.0);
Tailwind
colors: {
  custom: {
    50: '#ead997',
    500: '#dec96b',
    950: '#000000',
  },
}
SCSS
$custom: #dec96b;
$custom-light: #ead997;
$custom-dark: #000000;
JSON
{
  "hex": "#dec96b",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 107
  },
  "hsl": {
    "h": 49.043,
    "s": 63.536,
    "l": 64.51
  },
  "oklch": {
    "l": 0.83416,
    "c": 0.11723,
    "h": 97
  },
  "luminance": 0.58364
}

Semantic roles & 50–950 ramp

primary
#DEC96B
secondary
#4255AB
accent
#3BCB1A
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DEC96B

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

Preview Lab → · Contrast checker → · Palette generator →

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