#DEC052#DEC052

#DEC052 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.3% C 0.132 H 94.0°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#DEC052
RGBrgb(222, 192, 82)
HSLhsl(47, 68%, 60%)
HSVhsv(47, 63%, 87%)
CMYKcmyk(0%, 13.5%, 63.1%, 12.9%)
CIE-LABlab(78.37, -1.80, 57.80)
CIE-LCHlch(78.37, 57.83, 91.78°)
OKLaboklab(81.3% -0.0091 0.1321)
OKLCHoklch(81.3% 0.132 94)
XYZxyz(50.4992, 53.8407, 15.7134)
Luminance0.5384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC052 #5270DE
analogous
#DE7A52 #DEC052 #B6DE52
triadic
#DEC052 #52DEC0 #C052DE
tetradic
#DEC052 #52DE7A #5270DE #DE52B6
square
#DEC052 #52DE7A #5270DE #DE52B6
split-complementary
#DEC052 #52B6DE #7A52DE
monochromatic
#997E1D #CCA927 #DEC052 #E8D385 #F2E5B9

Accessibility & contrast

On white

1.78
#DEC052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#DEC052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC052
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC052#FFFFFF#000000##000000
##DEC0521.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD46
Deuteranopia (green-blind)
#DAC657
Tritanopia (blue-blind)
#EFB2A8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dec052;
/* rgb */ color: rgb(222, 192, 82);
/* oklch */ color: oklch(81.3% 0.132 94.0);
Tailwind
colors: {
  custom: {
    50: '#ecd287',
    500: '#dec052',
    950: '#000000',
  },
}
SCSS
$custom: #dec052;
$custom-light: #ecd287;
$custom-dark: #000000;
JSON
{
  "hex": "#dec052",
  "rgb": {
    "r": 222,
    "g": 192,
    "b": 82
  },
  "hsl": {
    "h": 47.143,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.81298,
    "c": 0.13238,
    "h": 94
  },
  "luminance": 0.53838
}

Semantic roles & 50–950 ramp

primary
#DEC052
secondary
#384D9D
accent
#62EB3D
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC052

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

Preview Lab → · Contrast checker → · Palette generator →

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