#DEC049#DEC049

#DEC049 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 81.2% C 0.139 H 94.8°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#DEC049
RGBrgb(222, 192, 73)
HSLhsl(48, 69%, 58%)
HSVhsv(48, 67%, 87%)
CMYKcmyk(0%, 13.5%, 67.1%, 12.9%)
CIE-LABlab(78.29, -2.33, 61.57)
CIE-LCHlch(78.29, 61.61, 92.17°)
OKLaboklab(81.22% -0.0117 0.1387)
OKLCHoklch(81.22% 0.139 94.8)
XYZxyz(50.1789, 53.7125, 14.0265)
Luminance0.5371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC049 #4967DE
analogous
#DE7549 #DEC049 #B2DE49
triadic
#DEC049 #49DEC0 #C049DE
tetradic
#DEC049 #49DE75 #4967DE #DE49B2
square
#DEC049 #49DE75 #4967DE #DE49B2
split-complementary
#DEC049 #49B2DE #7549DE
monochromatic
#927A1A #C6A524 #DEC049 #E7D27D #F1E4B1

Accessibility & contrast

On white

1.79
#DEC049 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#DEC049 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC049
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC049#FFFFFF#000000##000000
##DEC0491.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC3A
Deuteranopia (green-blind)
#DBC64F
Tritanopia (blue-blind)
#EFB2A7
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dec049;
/* rgb */ color: rgb(222, 192, 73);
/* oklch */ color: oklch(81.2% 0.139 94.8);
Tailwind
colors: {
  custom: {
    50: '#ecd282',
    500: '#dec049',
    950: '#000000',
  },
}
SCSS
$custom: #dec049;
$custom-light: #ecd282;
$custom-dark: #000000;
JSON
{
  "hex": "#dec049",
  "rgb": {
    "r": 222,
    "g": 192,
    "b": 73
  },
  "hsl": {
    "h": 47.919,
    "s": 69.302,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81215,
    "c": 0.13917,
    "h": 94.8
  },
  "luminance": 0.5371
}

Semantic roles & 50–950 ramp

primary
#DEC049
secondary
#344897
accent
#5FEC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DEC049

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

Preview Lab → · Contrast checker → · Palette generator →

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