#DEC771#DEC771

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

Color values

HEX#DEC771
RGBrgb(222, 199, 113)
HSLhsl(47, 62%, 66%)
HSVhsv(47, 49%, 87%)
CMYKcmyk(0%, 10.4%, 49.1%, 12.9%)
CIE-LABlab(80.50, -3.04, 45.71)
CIE-LCHlch(80.50, 45.81, 93.80°)
OKLaboklab(83.09% -0.0092 0.1092)
OKLCHoklch(83.09% 0.11 94.8)
XYZxyz(53.5300, 57.5709, 23.9122)
Luminance0.5757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC771 #7188DE
analogous
#DE9071 #DEC771 #BFDE71
triadic
#DEC771 #71DEC7 #C771DE
tetradic
#DEC771 #71DE90 #7188DE #DE71BF
square
#DEC771 #71DE90 #7188DE #DE71BF
split-complementary
#DEC771 #71BFDE #9071DE
monochromatic
#AD9128 #D2B33F #DEC771 #EADBA3 #F5EED4

Accessibility & contrast

On white

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

On black

12.51
#DEC771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC771
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC771#FFFFFF#000000##000000
##DEC7711.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dec771;
/* rgb */ color: rgb(222, 199, 113);
/* oklch */ color: oklch(83.1% 0.110 94.8);
Tailwind
colors: {
  custom: {
    50: '#ead79b',
    500: '#dec771',
    950: '#000000',
  },
}
SCSS
$custom: #dec771;
$custom-light: #ead79b;
$custom-dark: #000000;
JSON
{
  "hex": "#dec771",
  "rgb": {
    "r": 222,
    "g": 199,
    "b": 113
  },
  "hsl": {
    "h": 47.339,
    "s": 62.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.83089,
    "c": 0.10962,
    "h": 94.8
  },
  "luminance": 0.57569
}

Semantic roles & 50–950 ramp

primary
#DEC771
secondary
#455BAF
accent
#40CA1B
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DEC771

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

Preview Lab → · Contrast checker → · Palette generator →

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