#DEC545#DEC545

#DEC545 is a very light, vivid yellow. Relative luminance 0.559; OKLCH L 82.2% C 0.146 H 98.0°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#DEC545
RGBrgb(222, 197, 69)
HSLhsl(50, 70%, 57%)
HSVhsv(50, 69%, 87%)
CMYKcmyk(0%, 11.3%, 68.9%, 12.9%)
CIE-LABlab(79.55, -5.13, 64.47)
CIE-LCHlch(79.55, 64.68, 94.55°)
OKLaboklab(82.2% -0.0202 0.1442)
OKLCHoklch(82.2% 0.146 98)
XYZxyz(51.1670, 55.8943, 13.7226)
Luminance0.5589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC545 #455EDE
analogous
#DE7945 #DEC545 #ABDE45
triadic
#DEC545 #45DEC5 #C545DE
tetradic
#DEC545 #45DE79 #455EDE #DE45AB
square
#DEC545 #45DE79 #455EDE #DE45AB
split-complementary
#DEC545 #45ABDE #7945DE
monochromatic
#8F7C19 #C3A923 #DEC545 #E7D579 #F0E5AD

Accessibility & contrast

On white

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

On black

12.18
#DEC545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC545
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC545#FFFFFF#000000##000000
##DEC5451.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C033
Deuteranopia (green-blind)
#DFC94C
Tritanopia (blue-blind)
#EFB7AB
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dec545;
/* rgb */ color: rgb(222, 197, 69);
/* oklch */ color: oklch(82.2% 0.146 98.0);
Tailwind
colors: {
  custom: {
    50: '#ecd680',
    500: '#dec545',
    950: '#000000',
  },
}
SCSS
$custom: #dec545;
$custom-light: #ecd680;
$custom-dark: #000000;
JSON
{
  "hex": "#dec545",
  "rgb": {
    "r": 222,
    "g": 197,
    "b": 69
  },
  "hsl": {
    "h": 50.196,
    "s": 69.863,
    "l": 57.059
  },
  "oklch": {
    "l": 0.82202,
    "c": 0.14556,
    "h": 98
  },
  "luminance": 0.55892
}

Semantic roles & 50–950 ramp

primary
#DEC545
secondary
#334394
accent
#58ED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DEC545

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

Preview Lab → · Contrast checker → · Palette generator →

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