#DEC77A#DEC77A

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

Color values

HEX#DEC77A
RGBrgb(222, 199, 122)
HSLhsl(46, 60%, 67%)
HSVhsv(46, 45%, 87%)
CMYKcmyk(0%, 10.4%, 45%, 12.9%)
CIE-LABlab(80.62, -2.18, 41.38)
CIE-LCHlch(80.62, 41.44, 93.02°)
OKLaboklab(83.22% -0.0058 0.1002)
OKLCHoklch(83.22% 0.1 93.3)
XYZxyz(54.0620, 57.7837, 26.7142)
Luminance0.5778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC77A #7A91DE
analogous
#DE957A #DEC77A #C3DE7A
triadic
#DEC77A #7ADEC7 #C77ADE
tetradic
#DEC77A #7ADE95 #7A91DE #DE7AC3
square
#DEC77A #7ADE95 #7A91DE #DE7AC3
split-complementary
#DEC77A #7AC3DE #957ADE
monochromatic
#B2932C #D2B249 #DEC77A #EADCAB #F6F0DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEC77A#FFFFFF#000000##000000
##DEC77A1.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)
#D6C474
Deuteranopia (green-blind)
#DCCB7D
Tritanopia (blue-blind)
#ECBCB4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dec77a;
/* rgb */ color: rgb(222, 199, 122);
/* oklch */ color: oklch(83.2% 0.100 93.3);
Tailwind
colors: {
  custom: {
    50: '#ead7a1',
    500: '#dec77a',
    950: '#000000',
  },
}
SCSS
$custom: #dec77a;
$custom-light: #ead7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dec77a",
  "rgb": {
    "r": 222,
    "g": 199,
    "b": 122
  },
  "hsl": {
    "h": 46.2,
    "s": 60.241,
    "l": 67.451
  },
  "oklch": {
    "l": 0.83222,
    "c": 0.10033,
    "h": 93.3
  },
  "luminance": 0.57782
}

Semantic roles & 50–950 ramp

primary
#DEC77A
secondary
#4961B3
accent
#45C81E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DEC77A

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

Preview Lab → · Contrast checker → · Palette generator →

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