#DECC4E#DECC4E

#DECC4E is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.7% C 0.145 H 101.1°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#DECC4E
RGBrgb(222, 204, 78)
HSLhsl(53, 69%, 59%)
HSVhsv(53, 65%, 87%)
CMYKcmyk(0%, 8.1%, 64.9%, 12.9%)
CIE-LABlab(81.44, -8.21, 62.79)
CIE-LCHlch(81.44, 63.32, 97.45°)
OKLaboklab(83.72% -0.028 0.1421)
OKLCHoklch(83.72% 0.145 101.1)
XYZxyz(53.0944, 59.2676, 15.8493)
Luminance0.5927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECC4E #4E60DE
analogous
#DE844E #DECC4E #A8DE4E
triadic
#DECC4E #4EDECC #CC4EDE
tetradic
#DECC4E #4EDE84 #4E60DE #DE4EA8
square
#DECC4E #4EDE84 #4E60DE #DE4EA8
split-complementary
#DECC4E #4EA8DE #844EDE
monochromatic
#96861C #C9B526 #DECC4E #E8DB82 #F1EAB5

Accessibility & contrast

On white

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

On black

12.85
#DECC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECC4E
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECC4E#FFFFFF#000000##000000
##DECC4E1.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63E
Deuteranopia (green-blind)
#E3CE55
Tritanopia (blue-blind)
#EEBEB2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #decc4e;
/* rgb */ color: rgb(222, 204, 78);
/* oklch */ color: oklch(83.7% 0.145 101.1);
Tailwind
colors: {
  custom: {
    50: '#ecdb85',
    500: '#decc4e',
    950: '#000000',
  },
}
SCSS
$custom: #decc4e;
$custom-light: #ecdb85;
$custom-dark: #000000;
JSON
{
  "hex": "#decc4e",
  "rgb": {
    "r": 222,
    "g": 204,
    "b": 78
  },
  "hsl": {
    "h": 52.5,
    "s": 68.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.83718,
    "c": 0.14478,
    "h": 101.1
  },
  "luminance": 0.59265
}

Semantic roles & 50–950 ramp

primary
#DECC4E
secondary
#36439A
accent
#52EB3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DECC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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