#DECC56#DECC56

#DECC56 is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.8% C 0.139 H 100.7°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#DECC56
RGBrgb(222, 204, 86)
HSLhsl(52, 67%, 60%)
HSVhsv(52, 61%, 87%)
CMYKcmyk(0%, 8.1%, 61.3%, 12.9%)
CIE-LABlab(81.51, -7.71, 59.47)
CIE-LCHlch(81.51, 59.97, 97.38°)
OKLaboklab(83.79% -0.0256 0.1362)
OKLCHoklch(83.79% 0.139 100.7)
XYZxyz(53.3989, 59.3894, 17.4528)
Luminance0.5939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECC56 #5668DE
analogous
#DE8856 #DECC56 #ACDE56
triadic
#DECC56 #56DECC #CC56DE
tetradic
#DECC56 #56DE88 #5668DE #DE56AC
square
#DECC56 #56DE88 #5668DE #DE56AC
split-complementary
#DECC56 #56ACDE #8856DE
monochromatic
#9B8B1E #CEB828 #DECC56 #E8DB89 #F2EBBC

Accessibility & contrast

On white

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

On black

12.88
#DECC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECC56
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECC56#FFFFFF#000000##000000
##DECC561.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC649
Deuteranopia (green-blind)
#E3CE5C
Tritanopia (blue-blind)
#EEBFB3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #decc56;
/* rgb */ color: rgb(222, 204, 86);
/* oklch */ color: oklch(83.8% 0.139 100.7);
Tailwind
colors: {
  custom: {
    50: '#ebdb8a',
    500: '#decc56',
    950: '#000000',
  },
}
SCSS
$custom: #decc56;
$custom-light: #ebdb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#decc56",
  "rgb": {
    "r": 222,
    "g": 204,
    "b": 86
  },
  "hsl": {
    "h": 52.059,
    "s": 67.327,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83793,
    "c": 0.13856,
    "h": 100.7
  },
  "luminance": 0.59387
}

Semantic roles & 50–950 ramp

primary
#DECC56
secondary
#39479F
accent
#2FCF16
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DECC56

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

Preview Lab → · Contrast checker → · Palette generator →

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