#DECC5C#DECC5C

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

Color values

HEX#DECC5C
RGBrgb(222, 204, 92)
HSLhsl(52, 66%, 62%)
HSVhsv(52, 59%, 87%)
CMYKcmyk(0%, 8.1%, 58.6%, 12.9%)
CIE-LABlab(81.56, -7.30, 56.88)
CIE-LCHlch(81.56, 57.34, 97.31°)
OKLaboklab(83.85% -0.0238 0.1314)
OKLCHoklch(83.85% 0.134 100.3)
XYZxyz(53.6508, 59.4902, 18.7799)
Luminance0.5949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECC5C #5C6EDE
analogous
#DE8B5C #DECC5C #AFDE5C
triadic
#DECC5C #5CDECC #CC5CDE
tetradic
#DECC5C #5CDE8B #5C6EDE #DE5CAF
square
#DECC5C #5CDE8B #5C6EDE #DE5CAF
split-complementary
#DECC5C #5CAFDE #8B5CDE
monochromatic
#9F8E20 #D2BB2B #DECC5C #E8DC8F #F3ECC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DECC5C#FFFFFF#000000##000000
##DECC5C1.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)
#DDC750
Deuteranopia (green-blind)
#E2CE62
Tritanopia (blue-blind)
#EEBFB3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #decc5c;
/* rgb */ color: rgb(222, 204, 92);
/* oklch */ color: oklch(83.9% 0.134 100.3);
Tailwind
colors: {
  custom: {
    50: '#ebdb8e',
    500: '#decc5c',
    950: '#000000',
  },
}
SCSS
$custom: #decc5c;
$custom-light: #ebdb8e;
$custom-dark: #000000;
JSON
{
  "hex": "#decc5c",
  "rgb": {
    "r": 222,
    "g": 204,
    "b": 92
  },
  "hsl": {
    "h": 51.692,
    "s": 66.327,
    "l": 61.569
  },
  "oklch": {
    "l": 0.83854,
    "c": 0.13356,
    "h": 100.3
  },
  "luminance": 0.59488
}

Semantic roles & 50–950 ramp

primary
#DECC5C
secondary
#3C4AA3
accent
#31CE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DECC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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