#DEC352#DEC352

#DEC352 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.9% C 0.135 H 95.8°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#DEC352
RGBrgb(222, 195, 82)
HSLhsl(48, 68%, 60%)
HSVhsv(48, 63%, 87%)
CMYKcmyk(0%, 12.2%, 63.1%, 12.9%)
CIE-LABlab(79.14, -3.35, 58.64)
CIE-LCHlch(79.14, 58.73, 93.27°)
OKLaboklab(81.91% -0.0136 0.1338)
OKLCHoklch(81.91% 0.135 95.8)
XYZxyz(51.1646, 55.1715, 15.9352)
Luminance0.5517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC352 #526DDE
analogous
#DE7D52 #DEC352 #B3DE52
triadic
#DEC352 #52DEC3 #C352DE
tetradic
#DEC352 #52DE7D #526DDE #DE52B3
square
#DEC352 #52DE7D #526DDE #DE52B3
split-complementary
#DEC352 #52B3DE #7D52DE
monochromatic
#99811D #CCAC27 #DEC352 #E8D585 #F2E7B9

Accessibility & contrast

On white

1.75
#DEC352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#DEC352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC352
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC352#FFFFFF#000000##000000
##DEC3521.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF45
Deuteranopia (green-blind)
#DCC858
Tritanopia (blue-blind)
#EFB5AB
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dec352;
/* rgb */ color: rgb(222, 195, 82);
/* oklch */ color: oklch(81.9% 0.135 95.8);
Tailwind
colors: {
  custom: {
    50: '#ecd487',
    500: '#dec352',
    950: '#000000',
  },
}
SCSS
$custom: #dec352;
$custom-light: #ecd487;
$custom-dark: #000000;
JSON
{
  "hex": "#dec352",
  "rgb": {
    "r": 222,
    "g": 195,
    "b": 82
  },
  "hsl": {
    "h": 48.429,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.81908,
    "c": 0.13453,
    "h": 95.8
  },
  "luminance": 0.55169
}

Semantic roles & 50–950 ramp

primary
#DEC352
secondary
#384B9D
accent
#5FEB3D
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC352

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

Preview Lab → · Contrast checker → · Palette generator →

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