#DEC045#DEC045

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

Color values

HEX#DEC045
RGBrgb(222, 192, 69)
HSLhsl(48, 70%, 57%)
HSVhsv(48, 69%, 87%)
CMYKcmyk(0%, 13.5%, 68.9%, 12.9%)
CIE-LABlab(78.26, -2.55, 63.16)
CIE-LCHlch(78.26, 63.22, 92.31°)
OKLaboklab(81.18% -0.0128 0.1414)
OKLCHoklch(81.18% 0.142 95.2)
XYZxyz(50.0505, 53.6612, 13.3504)
Luminance0.5366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC045 #4563DE
analogous
#DE7345 #DEC045 #B0DE45
triadic
#DEC045 #45DEC0 #C045DE
tetradic
#DEC045 #45DE73 #4563DE #DE45B0
square
#DEC045 #45DE73 #4563DE #DE45B0
split-complementary
#DEC045 #45B0DE #7345DE
monochromatic
#8F7819 #C3A423 #DEC045 #E7D279 #F0E3AD

Accessibility & contrast

On white

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

On black

11.73
#DEC045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC045
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC045#FFFFFF#000000##000000
##DEC0451.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC34
Deuteranopia (green-blind)
#DBC64C
Tritanopia (blue-blind)
#EFB1A7
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dec045;
/* rgb */ color: rgb(222, 192, 69);
/* oklch */ color: oklch(81.2% 0.142 95.2);
Tailwind
colors: {
  custom: {
    50: '#ecd27f',
    500: '#dec045',
    950: '#000000',
  },
}
SCSS
$custom: #dec045;
$custom-light: #ecd27f;
$custom-dark: #000000;
JSON
{
  "hex": "#dec045",
  "rgb": {
    "r": 222,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 48.235,
    "s": 69.863,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81181,
    "c": 0.14196,
    "h": 95.2
  },
  "luminance": 0.53659
}

Semantic roles & 50–950 ramp

primary
#DEC045
secondary
#334694
accent
#5EED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DEC045

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

Preview Lab → · Contrast checker → · Palette generator →

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