#DEC04E#DEC04E

#DEC04E is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.3% C 0.135 H 94.4°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#DEC04E
RGBrgb(222, 192, 78)
HSLhsl(48, 69%, 59%)
HSVhsv(48, 65%, 87%)
CMYKcmyk(0%, 13.5%, 64.9%, 12.9%)
CIE-LABlab(78.33, -2.04, 59.50)
CIE-LCHlch(78.33, 59.54, 91.97°)
OKLaboklab(81.26% -0.0103 0.1351)
OKLCHoklch(81.26% 0.135 94.4)
XYZxyz(50.3514, 53.7815, 14.9350)
Luminance0.5378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC04E #4E6CDE
analogous
#DE784E #DEC04E #B4DE4E
triadic
#DEC04E #4EDEC0 #C04EDE
tetradic
#DEC04E #4EDE78 #4E6CDE #DE4EB4
square
#DEC04E #4EDE78 #4E6CDE #DE4EB4
split-complementary
#DEC04E #4EB4DE #784EDE
monochromatic
#967C1C #C9A726 #DEC04E #E8D282 #F1E5B5

Accessibility & contrast

On white

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

On black

11.76
#DEC04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC04E
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC04E#FFFFFF#000000##000000
##DEC04E1.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC40
Deuteranopia (green-blind)
#DAC654
Tritanopia (blue-blind)
#EFB2A8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dec04e;
/* rgb */ color: rgb(222, 192, 78);
/* oklch */ color: oklch(81.3% 0.135 94.4);
Tailwind
colors: {
  custom: {
    50: '#ecd285',
    500: '#dec04e',
    950: '#000000',
  },
}
SCSS
$custom: #dec04e;
$custom-light: #ecd285;
$custom-dark: #000000;
JSON
{
  "hex": "#dec04e",
  "rgb": {
    "r": 222,
    "g": 192,
    "b": 78
  },
  "hsl": {
    "h": 47.5,
    "s": 68.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81259,
    "c": 0.13548,
    "h": 94.4
  },
  "luminance": 0.53779
}

Semantic roles & 50–950 ramp

primary
#DEC04E
secondary
#364B9A
accent
#61EB3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DEC04E

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

Preview Lab → · Contrast checker → · Palette generator →

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