#DEC55A#DEC55A

#DEC55A is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.4% C 0.129 H 96.3°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#DEC55A
RGBrgb(222, 197, 90)
HSLhsl(49, 67%, 61%)
HSVhsv(49, 59%, 87%)
CMYKcmyk(0%, 11.3%, 59.5%, 12.9%)
CIE-LABlab(79.73, -3.85, 55.73)
CIE-LCHlch(79.73, 55.86, 93.95°)
OKLaboklab(82.4% -0.0141 0.1287)
OKLCHoklch(82.4% 0.129 96.3)
XYZxyz(51.9381, 56.2027, 17.7833)
Luminance0.5620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC55A #5A73DE
analogous
#DE835A #DEC55A #B5DE5A
triadic
#DEC55A #5ADEC5 #C55ADE
tetradic
#DEC55A #5ADE83 #5A73DE #DE5AB5
square
#DEC55A #5ADE83 #5A73DE #DE5AB5
split-complementary
#DEC55A #5AB5DE #835ADE
monochromatic
#9E8620 #D1B12A #DEC55A #E8D78D #F2E9C0

Accessibility & contrast

On white

1.72
#DEC55A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#DEC55A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC55A
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC55A#FFFFFF#000000##000000
##DEC55A1.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14F
Deuteranopia (green-blind)
#DDC95F
Tritanopia (blue-blind)
#EEB8AD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dec55a;
/* rgb */ color: rgb(222, 197, 90);
/* oklch */ color: oklch(82.4% 0.129 96.3);
Tailwind
colors: {
  custom: {
    50: '#ebd68c',
    500: '#dec55a',
    950: '#000000',
  },
}
SCSS
$custom: #dec55a;
$custom-light: #ebd68c;
$custom-dark: #000000;
JSON
{
  "hex": "#dec55a",
  "rgb": {
    "r": 222,
    "g": 197,
    "b": 90
  },
  "hsl": {
    "h": 48.636,
    "s": 66.667,
    "l": 61.176
  },
  "oklch": {
    "l": 0.82397,
    "c": 0.12948,
    "h": 96.3
  },
  "luminance": 0.562
}

Semantic roles & 50–950 ramp

primary
#DEC55A
secondary
#3B4EA1
accent
#3ACF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC55A

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

Preview Lab → · Contrast checker → · Palette generator →

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