#DEC772#DEC772

#DEC772 is a very light, moderate yellow. Relative luminance 0.576; OKLCH L 83.1% C 0.109 H 94.7°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#DEC772
RGBrgb(222, 199, 114)
HSLhsl(47, 62%, 66%)
HSVhsv(47, 49%, 87%)
CMYKcmyk(0%, 10.4%, 48.6%, 12.9%)
CIE-LABlab(80.51, -2.94, 45.24)
CIE-LCHlch(80.51, 45.33, 93.72°)
OKLaboklab(83.1% -0.0088 0.1083)
OKLCHoklch(83.1% 0.109 94.7)
XYZxyz(53.5866, 57.5935, 24.2103)
Luminance0.5759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC772 #7289DE
analogous
#DE9172 #DEC772 #BFDE72
triadic
#DEC772 #72DEC7 #C772DE
tetradic
#DEC772 #72DE91 #7289DE #DE72BF
square
#DEC772 #72DE91 #7289DE #DE72BF
split-complementary
#DEC772 #72BFDE #9172DE
monochromatic
#AD9129 #D2B340 #DEC772 #EADBA4 #F5EED5

Accessibility & contrast

On white

1.68
#DEC772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.52
#DEC772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC772
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC772#FFFFFF#000000##000000
##DEC7721.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C46B
Deuteranopia (green-blind)
#DDCB75
Tritanopia (blue-blind)
#EDBBB3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dec772;
/* rgb */ color: rgb(222, 199, 114);
/* oklch */ color: oklch(83.1% 0.109 94.7);
Tailwind
colors: {
  custom: {
    50: '#ead79c',
    500: '#dec772',
    950: '#000000',
  },
}
SCSS
$custom: #dec772;
$custom-light: #ead79c;
$custom-dark: #000000;
JSON
{
  "hex": "#dec772",
  "rgb": {
    "r": 222,
    "g": 199,
    "b": 114
  },
  "hsl": {
    "h": 47.222,
    "s": 62.069,
    "l": 65.882
  },
  "oklch": {
    "l": 0.83103,
    "c": 0.10861,
    "h": 94.7
  },
  "luminance": 0.57591
}

Semantic roles & 50–950 ramp

primary
#DEC772
secondary
#455CAF
accent
#41CA1C
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DEC772

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

Preview Lab → · Contrast checker → · Palette generator →

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