#DEC24A#DEC24A

#DEC24A is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.6% C 0.140 H 95.9°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#DEC24A
RGBrgb(222, 194, 74)
HSLhsl(49, 69%, 58%)
HSVhsv(49, 67%, 87%)
CMYKcmyk(0%, 12.6%, 66.7%, 12.9%)
CIE-LABlab(78.82, -3.31, 61.70)
CIE-LCHlch(78.82, 61.79, 93.07°)
OKLaboklab(81.63% -0.0144 0.1391)
OKLCHoklch(81.63% 0.14 95.9)
XYZxyz(50.6544, 54.6102, 14.3499)
Luminance0.5461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC24A #4A66DE
analogous
#DE784A #DEC24A #B0DE4A
triadic
#DEC24A #4ADEC2 #C24ADE
tetradic
#DEC24A #4ADE78 #4A66DE #DE4AB0
square
#DEC24A #4ADE78 #4A66DE #DE4AB0
split-complementary
#DEC24A #4AB0DE #784ADE
monochromatic
#937C1B #C7A824 #DEC24A #E7D37E #F1E5B2

Accessibility & contrast

On white

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

On black

11.92
#DEC24A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC24A
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC24A#FFFFFF#000000##000000
##DEC24A1.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE3B
Deuteranopia (green-blind)
#DCC750
Tritanopia (blue-blind)
#EFB4A9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dec24a;
/* rgb */ color: rgb(222, 194, 74);
/* oklch */ color: oklch(81.6% 0.140 95.9);
Tailwind
colors: {
  custom: {
    50: '#ecd482',
    500: '#dec24a',
    950: '#000000',
  },
}
SCSS
$custom: #dec24a;
$custom-light: #ecd482;
$custom-dark: #000000;
JSON
{
  "hex": "#dec24a",
  "rgb": {
    "r": 222,
    "g": 194,
    "b": 74
  },
  "hsl": {
    "h": 48.649,
    "s": 69.159,
    "l": 58.039
  },
  "oklch": {
    "l": 0.8163,
    "c": 0.13986,
    "h": 95.9
  },
  "luminance": 0.54608
}

Semantic roles & 50–950 ramp

primary
#DEC24A
secondary
#354798
accent
#5DEC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DEC24A

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

Preview Lab → · Contrast checker → · Palette generator →

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