#DEC04A#DEC04A

#DEC04A is a light, vivid yellow. Relative luminance 0.537; OKLCH L 81.2% C 0.138 H 94.8°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#DEC04A
RGBrgb(222, 192, 74)
HSLhsl(48, 69%, 58%)
HSVhsv(48, 67%, 87%)
CMYKcmyk(0%, 13.5%, 66.7%, 12.9%)
CIE-LABlab(78.30, -2.27, 61.16)
CIE-LCHlch(78.30, 61.20, 92.13°)
OKLaboklab(81.22% -0.0115 0.138)
OKLCHoklch(81.22% 0.138 94.8)
XYZxyz(50.2123, 53.7259, 14.2026)
Luminance0.5372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC04A #4A68DE
analogous
#DE764A #DEC04A #B2DE4A
triadic
#DEC04A #4ADEC0 #C04ADE
tetradic
#DEC04A #4ADE76 #4A68DE #DE4AB2
square
#DEC04A #4ADE76 #4A68DE #DE4AB2
split-complementary
#DEC04A #4AB2DE #764ADE
monochromatic
#937A1B #C7A624 #DEC04A #E7D27E #F1E4B2

Accessibility & contrast

On white

1.79
#DEC04A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#DEC04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC04A
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC04A#FFFFFF#000000##000000
##DEC04A1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC3B
Deuteranopia (green-blind)
#DBC650
Tritanopia (blue-blind)
#EFB2A7
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dec04a;
/* rgb */ color: rgb(222, 192, 74);
/* oklch */ color: oklch(81.2% 0.138 94.8);
Tailwind
colors: {
  custom: {
    50: '#ecd282',
    500: '#dec04a',
    950: '#000000',
  },
}
SCSS
$custom: #dec04a;
$custom-light: #ecd282;
$custom-dark: #000000;
JSON
{
  "hex": "#dec04a",
  "rgb": {
    "r": 222,
    "g": 192,
    "b": 74
  },
  "hsl": {
    "h": 47.838,
    "s": 69.159,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81223,
    "c": 0.13845,
    "h": 94.8
  },
  "luminance": 0.53723
}

Semantic roles & 50–950 ramp

primary
#DEC04A
secondary
#354998
accent
#60EC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DEC04A

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

Preview Lab → · Contrast checker → · Palette generator →

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