#DEC04B#DEC04B

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

Color values

HEX#DEC04B
RGBrgb(222, 192, 75)
HSLhsl(48, 69%, 58%)
HSVhsv(48, 66%, 87%)
CMYKcmyk(0%, 13.5%, 66.2%, 12.9%)
CIE-LABlab(78.31, -2.22, 60.75)
CIE-LCHlch(78.31, 60.79, 92.09°)
OKLaboklab(81.23% -0.0112 0.1373)
OKLCHoklch(81.23% 0.138 94.7)
XYZxyz(50.2463, 53.7395, 14.3814)
Luminance0.5374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC04B #4B69DE
analogous
#DE764B #DEC04B #B2DE4B
triadic
#DEC04B #4BDEC0 #C04BDE
tetradic
#DEC04B #4BDE76 #4B69DE #DE4BB2
square
#DEC04B #4BDE76 #4B69DE #DE4BB2
split-complementary
#DEC04B #4BB2DE #764BDE
monochromatic
#947B1B #C7A625 #DEC04B #E7D27F #F1E4B2

Accessibility & contrast

On white

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

On black

11.75
#DEC04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC04B
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC04B#FFFFFF#000000##000000
##DEC04B1.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC3C
Deuteranopia (green-blind)
#DBC651
Tritanopia (blue-blind)
#EFB2A8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dec04b;
/* rgb */ color: rgb(222, 192, 75);
/* oklch */ color: oklch(81.2% 0.138 94.7);
Tailwind
colors: {
  custom: {
    50: '#ecd283',
    500: '#dec04b',
    950: '#000000',
  },
}
SCSS
$custom: #dec04b;
$custom-light: #ecd283;
$custom-dark: #000000;
JSON
{
  "hex": "#dec04b",
  "rgb": {
    "r": 222,
    "g": 192,
    "b": 75
  },
  "hsl": {
    "h": 47.755,
    "s": 69.014,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81232,
    "c": 0.13772,
    "h": 94.7
  },
  "luminance": 0.53737
}

Semantic roles & 50–950 ramp

primary
#DEC04B
secondary
#354998
accent
#60EC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DEC04B

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

Preview Lab → · Contrast checker → · Palette generator →

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