#DECC5E#DECC5E

#DECC5E is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.9% C 0.132 H 100.1°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#DECC5E
RGBrgb(222, 204, 94)
HSLhsl(52, 66%, 62%)
HSVhsv(52, 58%, 87%)
CMYKcmyk(0%, 8.1%, 57.7%, 12.9%)
CIE-LABlab(81.58, -7.15, 56.00)
CIE-LCHlch(81.58, 56.45, 97.28°)
OKLaboklab(83.88% -0.0231 0.1298)
OKLCHoklch(83.88% 0.132 100.1)
XYZxyz(53.7394, 59.5256, 19.2464)
Luminance0.5952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECC5E #5E70DE
analogous
#DE8C5E #DECC5E #B0DE5E
triadic
#DECC5E #5EDECC #CC5EDE
tetradic
#DECC5E #5EDE8C #5E70DE #DE5EB0
square
#DECC5E #5EDE8C #5E70DE #DE5EB0
split-complementary
#DECC5E #5EB0DE #8C5EDE
monochromatic
#A18F21 #D3BC2B #DECC5E #E8DC91 #F3ECC4

Accessibility & contrast

On white

1.63
#DECC5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.90
#DECC5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECC5E
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECC5E#FFFFFF#000000##000000
##DECC5E1.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC753
Deuteranopia (green-blind)
#E2CE63
Tritanopia (blue-blind)
#EDBFB4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #decc5e;
/* rgb */ color: rgb(222, 204, 94);
/* oklch */ color: oklch(83.9% 0.132 100.1);
Tailwind
colors: {
  custom: {
    50: '#ebdb8f',
    500: '#decc5e',
    950: '#000000',
  },
}
SCSS
$custom: #decc5e;
$custom-light: #ebdb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#decc5e",
  "rgb": {
    "r": 222,
    "g": 204,
    "b": 94
  },
  "hsl": {
    "h": 51.563,
    "s": 65.979,
    "l": 61.961
  },
  "oklch": {
    "l": 0.83876,
    "c": 0.13183,
    "h": 100.1
  },
  "luminance": 0.59523
}

Semantic roles & 50–950 ramp

primary
#DECC5E
secondary
#3C4BA4
accent
#31CE18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DECC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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