#DEC24E#DEC24E

#DEC24E is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.7% C 0.137 H 95.6°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#DEC24E
RGBrgb(222, 194, 78)
HSLhsl(48, 69%, 59%)
HSVhsv(48, 65%, 87%)
CMYKcmyk(0%, 12.6%, 64.9%, 12.9%)
CIE-LABlab(78.85, -3.08, 60.05)
CIE-LCHlch(78.85, 60.13, 92.93°)
OKLaboklab(81.67% -0.0133 0.1362)
OKLCHoklch(81.67% 0.137 95.6)
XYZxyz(50.7935, 54.6658, 15.0824)
Luminance0.5466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC24E #4E6ADE
analogous
#DE7A4E #DEC24E #B2DE4E
triadic
#DEC24E #4EDEC2 #C24EDE
tetradic
#DEC24E #4EDE7A #4E6ADE #DE4EB2
square
#DEC24E #4EDE7A #4E6ADE #DE4EB2
split-complementary
#DEC24E #4EB2DE #7A4EDE
monochromatic
#967E1C #C9A926 #DEC24E #E8D482 #F1E6B5

Accessibility & contrast

On white

1.76
#DEC24E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#DEC24E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC24E
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC24E#FFFFFF#000000##000000
##DEC24E1.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE40
Deuteranopia (green-blind)
#DCC754
Tritanopia (blue-blind)
#EFB4AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dec24e;
/* rgb */ color: rgb(222, 194, 78);
/* oklch */ color: oklch(81.7% 0.137 95.6);
Tailwind
colors: {
  custom: {
    50: '#ecd485',
    500: '#dec24e',
    950: '#000000',
  },
}
SCSS
$custom: #dec24e;
$custom-light: #ecd485;
$custom-dark: #000000;
JSON
{
  "hex": "#dec24e",
  "rgb": {
    "r": 222,
    "g": 194,
    "b": 78
  },
  "hsl": {
    "h": 48.333,
    "s": 68.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81666,
    "c": 0.13689,
    "h": 95.6
  },
  "luminance": 0.54663
}

Semantic roles & 50–950 ramp

primary
#DEC24E
secondary
#364A9A
accent
#5EEB3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DEC24E

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

Preview Lab → · Contrast checker → · Palette generator →

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