#DECD71#DECD71

#DECD71 is a very light, moderate yellow. Relative luminance 0.604; OKLCH L 84.3% C 0.115 H 99.1°. Best body text is #000000 at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#DECD71
RGBrgb(222, 205, 113)
HSLhsl(51, 62%, 66%)
HSVhsv(51, 49%, 87%)
CMYKcmyk(0%, 7.7%, 49.1%, 12.9%)
CIE-LABlab(82.05, -6.12, 47.60)
CIE-LCHlch(82.05, 47.99, 97.33°)
OKLaboklab(84.31% -0.0181 0.1134)
OKLCHoklch(84.31% 0.115 99.1)
XYZxyz(54.9378, 60.3865, 24.3815)
Luminance0.6038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECD71 #7182DE
analogous
#DE9671 #DECD71 #B8DE71
triadic
#DECD71 #71DECD #CD71DE
tetradic
#DECD71 #71DE96 #7182DE #DE71B8
square
#DECD71 #71DE96 #7182DE #DE71B8
split-complementary
#DECD71 #71B8DE #9671DE
monochromatic
#AD9828 #D2BC3F #DECD71 #EADEA3 #F5F0D4

Accessibility & contrast

On white

1.61
#DECD71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.08
#DECD71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECD71
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECD71#FFFFFF#000000##000000
##DECD711.001.6113.0813.08
#FFFFFF1.611.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC869
Deuteranopia (green-blind)
#E1CF75
Tritanopia (blue-blind)
#ECC1B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #decd71;
/* rgb */ color: rgb(222, 205, 113);
/* oklch */ color: oklch(84.3% 0.115 99.1);
Tailwind
colors: {
  custom: {
    50: '#eadc9c',
    500: '#decd71',
    950: '#000000',
  },
}
SCSS
$custom: #decd71;
$custom-light: #eadc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#decd71",
  "rgb": {
    "r": 222,
    "g": 205,
    "b": 113
  },
  "hsl": {
    "h": 50.642,
    "s": 62.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.84314,
    "c": 0.11484,
    "h": 99.1
  },
  "luminance": 0.60384
}

Semantic roles & 50–950 ramp

primary
#DECD71
secondary
#4555AF
accent
#37CA1B
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DECD71

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

Preview Lab → · Contrast checker → · Palette generator →

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