#DEC551#DEC551

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

Color values

HEX#DEC551
RGBrgb(222, 197, 81)
HSLhsl(49, 68%, 59%)
HSVhsv(49, 64%, 87%)
CMYKcmyk(0%, 11.3%, 63.5%, 12.9%)
CIE-LABlab(79.65, -4.44, 59.62)
CIE-LCHlch(79.65, 59.78, 94.26°)
OKLaboklab(82.31% -0.0169 0.1358)
OKLCHoklch(82.31% 0.137 97.1)
XYZxyz(51.5779, 56.0586, 15.8866)
Luminance0.5606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC551 #516ADE
analogous
#DE7F51 #DEC551 #B0DE51
triadic
#DEC551 #51DEC5 #C551DE
tetradic
#DEC551 #51DE7F #516ADE #DE51B0
square
#DEC551 #51DE7F #516ADE #DE51B0
split-complementary
#DEC551 #51B0DE #7F51DE
monochromatic
#98821D #CBAE27 #DEC551 #E8D684 #F2E7B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEC551#FFFFFF#000000##000000
##DEC5511.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)
#D7C143
Deuteranopia (green-blind)
#DEC957
Tritanopia (blue-blind)
#EFB7AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dec551;
/* rgb */ color: rgb(222, 197, 81);
/* oklch */ color: oklch(82.3% 0.137 97.1);
Tailwind
colors: {
  custom: {
    50: '#ecd687',
    500: '#dec551',
    950: '#000000',
  },
}
SCSS
$custom: #dec551;
$custom-light: #ecd687;
$custom-dark: #000000;
JSON
{
  "hex": "#dec551",
  "rgb": {
    "r": 222,
    "g": 197,
    "b": 81
  },
  "hsl": {
    "h": 49.362,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.82306,
    "c": 0.13682,
    "h": 97.1
  },
  "luminance": 0.56056
}

Semantic roles & 50–950 ramp

primary
#DEC551
secondary
#37499C
accent
#5CEB3D
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC551

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

Preview Lab → · Contrast checker → · Palette generator →

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