#DEC77C#DEC77C

#DEC77C is a very light, moderate yellow. Relative luminance 0.578; OKLCH L 83.3% C 0.098 H 93.0°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#DEC77C
RGBrgb(222, 199, 124)
HSLhsl(46, 60%, 68%)
HSVhsv(46, 44%, 87%)
CMYKcmyk(0%, 10.4%, 44.1%, 12.9%)
CIE-LABlab(80.65, -1.99, 40.40)
CIE-LCHlch(80.65, 40.45, 92.81°)
OKLaboklab(83.25% -0.0051 0.0981)
OKLCHoklch(83.25% 0.098 93)
XYZxyz(54.1872, 57.8338, 27.3736)
Luminance0.5783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC77C #7C93DE
analogous
#DE967C #DEC77C #C4DE7C
triadic
#DEC77C #7CDEC7 #C77CDE
tetradic
#DEC77C #7CDE96 #7C93DE #DE7CC4
square
#DEC77C #7CDE96 #7C93DE #DE7CC4
split-complementary
#DEC77C #7CC4DE #967CDE
monochromatic
#B3932D #D2B24B #DEC77C #EADCAD #F7F1DE

Accessibility & contrast

On white

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

On black

12.57
#DEC77C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC77C
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC77C#FFFFFF#000000##000000
##DEC77C1.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C476
Deuteranopia (green-blind)
#DCCB7F
Tritanopia (blue-blind)
#ECBCB5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dec77c;
/* rgb */ color: rgb(222, 199, 124);
/* oklch */ color: oklch(83.3% 0.098 93.0);
Tailwind
colors: {
  custom: {
    50: '#ead7a3',
    500: '#dec77c',
    950: '#000000',
  },
}
SCSS
$custom: #dec77c;
$custom-light: #ead7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dec77c",
  "rgb": {
    "r": 222,
    "g": 199,
    "b": 124
  },
  "hsl": {
    "h": 45.918,
    "s": 59.756,
    "l": 67.843
  },
  "oklch": {
    "l": 0.83253,
    "c": 0.0982,
    "h": 93
  },
  "luminance": 0.57832
}

Semantic roles & 50–950 ramp

primary
#DEC77C
secondary
#4A63B4
accent
#46C71E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DEC77C

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

Preview Lab → · Contrast checker → · Palette generator →

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