#DEC54D#DEC54D

#DEC54D is a very light, vivid yellow. Relative luminance 0.560; OKLCH L 82.3% C 0.140 H 97.4°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#DEC54D
RGBrgb(222, 197, 77)
HSLhsl(50, 69%, 59%)
HSVhsv(50, 65%, 87%)
CMYKcmyk(0%, 11.3%, 65.3%, 12.9%)
CIE-LABlab(79.61, -4.68, 61.28)
CIE-LCHlch(79.61, 61.46, 94.37°)
OKLaboklab(82.27% -0.018 0.1387)
OKLCHoklch(82.27% 0.14 97.4)
XYZxyz(51.4323, 56.0004, 15.1198)
Luminance0.5600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC54D #4D66DE
analogous
#DE7C4D #DEC54D #AEDE4D
triadic
#DEC54D #4DDEC5 #C54DDE
tetradic
#DEC54D #4DDE7C #4D66DE #DE4DAE
square
#DEC54D #4DDE7C #4D66DE #DE4DAE
split-complementary
#DEC54D #4DAEDE #7C4DDE
monochromatic
#95801C #C9AC25 #DEC54D #E8D681 #F1E7B4

Accessibility & contrast

On white

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

On black

12.20
#DEC54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC54D
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC54D#FFFFFF#000000##000000
##DEC54D1.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C03E
Deuteranopia (green-blind)
#DEC953
Tritanopia (blue-blind)
#EFB7AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dec54d;
/* rgb */ color: rgb(222, 197, 77);
/* oklch */ color: oklch(82.3% 0.140 97.4);
Tailwind
colors: {
  custom: {
    50: '#ecd684',
    500: '#dec54d',
    950: '#000000',
  },
}
SCSS
$custom: #dec54d;
$custom-light: #ecd684;
$custom-dark: #000000;
JSON
{
  "hex": "#dec54d",
  "rgb": {
    "r": 222,
    "g": 197,
    "b": 77
  },
  "hsl": {
    "h": 49.655,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82269,
    "c": 0.13988,
    "h": 97.4
  },
  "luminance": 0.55998
}

Semantic roles & 50–950 ramp

primary
#DEC54D
secondary
#364799
accent
#5AEC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DEC54D

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

Preview Lab → · Contrast checker → · Palette generator →

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