#DEC546#DEC546

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

Color values

HEX#DEC546
RGBrgb(222, 197, 70)
HSLhsl(50, 70%, 57%)
HSVhsv(50, 68%, 87%)
CMYKcmyk(0%, 11.3%, 68.5%, 12.9%)
CIE-LABlab(79.56, -5.07, 64.09)
CIE-LCHlch(79.56, 64.29, 94.53°)
OKLaboklab(82.21% -0.0199 0.1435)
OKLCHoklch(82.21% 0.145 97.9)
XYZxyz(51.1983, 55.9068, 13.8875)
Luminance0.5590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC546 #465FDE
analogous
#DE7946 #DEC546 #ABDE46
triadic
#DEC546 #46DEC5 #C546DE
tetradic
#DEC546 #46DE79 #465FDE #DE46AB
square
#DEC546 #46DE79 #465FDE #DE46AB
split-complementary
#DEC546 #46ABDE #7946DE
monochromatic
#907C1A #C4A923 #DEC546 #E7D57A #F1E6AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEC546#FFFFFF#000000##000000
##DEC5461.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)
#D8C034
Deuteranopia (green-blind)
#DFC94D
Tritanopia (blue-blind)
#EFB7AB
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dec546;
/* rgb */ color: rgb(222, 197, 70);
/* oklch */ color: oklch(82.2% 0.145 97.9);
Tailwind
colors: {
  custom: {
    50: '#ecd680',
    500: '#dec546',
    950: '#000000',
  },
}
SCSS
$custom: #dec546;
$custom-light: #ecd680;
$custom-dark: #000000;
JSON
{
  "hex": "#dec546",
  "rgb": {
    "r": 222,
    "g": 197,
    "b": 70
  },
  "hsl": {
    "h": 50.132,
    "s": 69.725,
    "l": 57.255
  },
  "oklch": {
    "l": 0.8221,
    "c": 0.14488,
    "h": 97.9
  },
  "luminance": 0.55904
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DEC546

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

Preview Lab → · Contrast checker → · Palette generator →

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