#DEC77B#DEC77B

#DEC77B is a very light, moderate yellow. Relative luminance 0.578; OKLCH L 83.2% C 0.099 H 93.1°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#DEC77B
RGBrgb(222, 199, 123)
HSLhsl(46, 60%, 68%)
HSVhsv(46, 45%, 87%)
CMYKcmyk(0%, 10.4%, 44.6%, 12.9%)
CIE-LABlab(80.63, -2.09, 40.89)
CIE-LCHlch(80.63, 40.94, 92.92°)
OKLaboklab(83.24% -0.0054 0.0991)
OKLCHoklch(83.24% 0.099 93.1)
XYZxyz(54.1243, 57.8086, 27.0422)
Luminance0.5781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC77B #7B92DE
analogous
#DE967B #DEC77B #C3DE7B
triadic
#DEC77B #7BDEC7 #C77BDE
tetradic
#DEC77B #7BDE96 #7B92DE #DE7BC3
square
#DEC77B #7BDE96 #7B92DE #DE7BC3
split-complementary
#DEC77B #7BC3DE #967BDE
monochromatic
#B2932D #D2B24A #DEC77B #EADCAC #F6F1DD

Accessibility & contrast

On white

1.67
#DEC77B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#DEC77B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC77B
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC77B#FFFFFF#000000##000000
##DEC77B1.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C475
Deuteranopia (green-blind)
#DCCB7E
Tritanopia (blue-blind)
#ECBCB4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dec77b;
/* rgb */ color: rgb(222, 199, 123);
/* oklch */ color: oklch(83.2% 0.099 93.1);
Tailwind
colors: {
  custom: {
    50: '#ead7a2',
    500: '#dec77b',
    950: '#000000',
  },
}
SCSS
$custom: #dec77b;
$custom-light: #ead7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dec77b",
  "rgb": {
    "r": 222,
    "g": 199,
    "b": 123
  },
  "hsl": {
    "h": 46.061,
    "s": 60,
    "l": 67.647
  },
  "oklch": {
    "l": 0.83237,
    "c": 0.09927,
    "h": 93.1
  },
  "luminance": 0.57807
}

Semantic roles & 50–950 ramp

primary
#DEC77B
secondary
#4962B4
accent
#45C81E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DEC77B

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

Preview Lab → · Contrast checker → · Palette generator →

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