#DEC541#DEC541

#DEC541 is a very light, vivid yellow. Relative luminance 0.558; OKLCH L 82.2% C 0.148 H 98.2°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#DEC541
RGBrgb(222, 197, 65)
HSLhsl(50, 70%, 56%)
HSVhsv(50, 71%, 87%)
CMYKcmyk(0%, 11.3%, 70.7%, 12.9%)
CIE-LABlab(79.53, -5.33, 65.99)
CIE-LCHlch(79.53, 66.20, 94.61°)
OKLaboklab(82.17% -0.0212 0.1467)
OKLCHoklch(82.17% 0.148 98.2)
XYZxyz(51.0470, 55.8463, 13.0906)
Luminance0.5584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC541 #415ADE
analogous
#DE7741 #DEC541 #A9DE41
triadic
#DEC541 #41DEC5 #C541DE
tetradic
#DEC541 #41DE77 #415ADE #DE41A9
square
#DEC541 #41DE77 #415ADE #DE41A9
split-complementary
#DEC541 #41A9DE #7741DE
monochromatic
#8C7A18 #C0A721 #DEC541 #E7D575 #F0E5A9

Accessibility & contrast

On white

1.73
#DEC541 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#DEC541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC541
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC541#FFFFFF#000000##000000
##DEC5411.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02D
Deuteranopia (green-blind)
#DFC949
Tritanopia (blue-blind)
#EFB6AB
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dec541;
/* rgb */ color: rgb(222, 197, 65);
/* oklch */ color: oklch(82.2% 0.148 98.2);
Tailwind
colors: {
  custom: {
    50: '#ecd67e',
    500: '#dec541',
    950: '#000000',
  },
}
SCSS
$custom: #dec541;
$custom-light: #ecd67e;
$custom-dark: #000000;
JSON
{
  "hex": "#dec541",
  "rgb": {
    "r": 222,
    "g": 197,
    "b": 65
  },
  "hsl": {
    "h": 50.446,
    "s": 70.404,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82172,
    "c": 0.14817,
    "h": 98.2
  },
  "luminance": 0.55844
}

Semantic roles & 50–950 ramp

primary
#DEC541
secondary
#324192
accent
#57ED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #DEC541

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

Preview Lab → · Contrast checker → · Palette generator →

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