#DEC552#DEC552

#DEC552 is a very light, vivid yellow. Relative luminance 0.561; OKLCH L 82.3% C 0.136 H 97.0°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#DEC552
RGBrgb(222, 197, 82)
HSLhsl(49, 68%, 60%)
HSVhsv(49, 63%, 87%)
CMYKcmyk(0%, 11.3%, 63.1%, 12.9%)
CIE-LABlab(79.66, -4.38, 59.20)
CIE-LCHlch(79.66, 59.36, 94.23°)
OKLaboklab(82.32% -0.0166 0.135)
OKLCHoklch(82.32% 0.136 97)
XYZxyz(51.6157, 56.0737, 16.0855)
Luminance0.5607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC552 #526BDE
analogous
#DE7F52 #DEC552 #B1DE52
triadic
#DEC552 #52DEC5 #C552DE
tetradic
#DEC552 #52DE7F #526BDE #DE52B1
square
#DEC552 #52DE7F #526BDE #DE52B1
split-complementary
#DEC552 #52B1DE #7F52DE
monochromatic
#99821D #CCAE27 #DEC552 #E8D685 #F2E7B9

Accessibility & contrast

On white

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

On black

12.21
#DEC552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC552
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC552#FFFFFF#000000##000000
##DEC5521.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C145
Deuteranopia (green-blind)
#DEC958
Tritanopia (blue-blind)
#EFB7AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dec552;
/* rgb */ color: rgb(222, 197, 82);
/* oklch */ color: oklch(82.3% 0.136 97.0);
Tailwind
colors: {
  custom: {
    50: '#ecd687',
    500: '#dec552',
    950: '#000000',
  },
}
SCSS
$custom: #dec552;
$custom-light: #ecd687;
$custom-dark: #000000;
JSON
{
  "hex": "#dec552",
  "rgb": {
    "r": 222,
    "g": 197,
    "b": 82
  },
  "hsl": {
    "h": 49.286,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82316,
    "c": 0.13604,
    "h": 97
  },
  "luminance": 0.56071
}

Semantic roles & 50–950 ramp

primary
#DEC552
secondary
#384A9D
accent
#5CEB3D
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC552

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

Preview Lab → · Contrast checker → · Palette generator →

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