#DEC97B#DEC97B

#DEC97B is a very light, moderate yellow. Relative luminance 0.587; OKLCH L 83.6% C 0.101 H 94.8°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#DEC97B
RGBrgb(222, 201, 123)
HSLhsl(47, 60%, 68%)
HSVhsv(47, 45%, 87%)
CMYKcmyk(0%, 9.5%, 44.6%, 12.9%)
CIE-LABlab(81.15, -3.12, 41.54)
CIE-LCHlch(81.15, 41.65, 94.29°)
OKLaboklab(83.64% -0.0084 0.1006)
OKLCHoklch(83.64% 0.101 94.8)
XYZxyz(54.5875, 58.7350, 27.1966)
Luminance0.5873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC97B #7B90DE
analogous
#DE987B #DEC97B #C1DE7B
triadic
#DEC97B #7BDEC9 #C97BDE
tetradic
#DEC97B #7BDE98 #7B90DE #DE7BC1
square
#DEC97B #7BDE98 #7B90DE #DE7BC1
split-complementary
#DEC97B #7BC1DE #987BDE
monochromatic
#B2962D #D2B54A #DEC97B #EADDAC #F6F1DD

Accessibility & contrast

On white

1.65
#DEC97B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#DEC97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC97B
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC97B#FFFFFF#000000##000000
##DEC97B1.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C675
Deuteranopia (green-blind)
#DDCC7E
Tritanopia (blue-blind)
#ECBEB6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dec97b;
/* rgb */ color: rgb(222, 201, 123);
/* oklch */ color: oklch(83.6% 0.101 94.8);
Tailwind
colors: {
  custom: {
    50: '#ead9a2',
    500: '#dec97b',
    950: '#000000',
  },
}
SCSS
$custom: #dec97b;
$custom-light: #ead9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dec97b",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 123
  },
  "hsl": {
    "h": 47.273,
    "s": 60,
    "l": 67.647
  },
  "oklch": {
    "l": 0.83643,
    "c": 0.10093,
    "h": 94.8
  },
  "luminance": 0.58733
}

Semantic roles & 50–950 ramp

primary
#DEC97B
secondary
#4960B4
accent
#42C81E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DEC97B

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

Preview Lab → · Contrast checker → · Palette generator →

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