#DEC54F#DEC54F

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

Color values

HEX#DEC54F
RGBrgb(222, 197, 79)
HSLhsl(50, 68%, 59%)
HSVhsv(50, 64%, 87%)
CMYKcmyk(0%, 11.3%, 64.4%, 12.9%)
CIE-LABlab(79.63, -4.57, 60.46)
CIE-LCHlch(79.63, 60.63, 94.32°)
OKLaboklab(82.29% -0.0175 0.1373)
OKLCHoklch(82.29% 0.138 97.2)
XYZxyz(51.5040, 56.0291, 15.4974)
Luminance0.5603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC54F #4F68DE
analogous
#DE7E4F #DEC54F #B0DE4F
triadic
#DEC54F #4FDEC5 #C54FDE
tetradic
#DEC54F #4FDE7E #4F68DE #DE4FB0
square
#DEC54F #4FDE7E #4F68DE #DE4FB0
split-complementary
#DEC54F #4FB0DE #7E4FDE
monochromatic
#96811C #CAAD26 #DEC54F #E8D683 #F1E7B6

Accessibility & contrast

On white

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

On black

12.21
#DEC54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC54F
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC54F#FFFFFF#000000##000000
##DEC54F1.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dec54f;
/* rgb */ color: rgb(222, 197, 79);
/* oklch */ color: oklch(82.3% 0.138 97.2);
Tailwind
colors: {
  custom: {
    50: '#ecd686',
    500: '#dec54f',
    950: '#000000',
  },
}
SCSS
$custom: #dec54f;
$custom-light: #ecd686;
$custom-dark: #000000;
JSON
{
  "hex": "#dec54f",
  "rgb": {
    "r": 222,
    "g": 197,
    "b": 79
  },
  "hsl": {
    "h": 49.51,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82288,
    "c": 0.13837,
    "h": 97.2
  },
  "luminance": 0.56027
}

Semantic roles & 50–950 ramp

primary
#DEC54F
secondary
#37489B
accent
#5BEB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DEC54F

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

Preview Lab → · Contrast checker → · Palette generator →

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