#DEC556#DEC556

#DEC556 is a very light, vivid yellow. Relative luminance 0.561; OKLCH L 82.4% C 0.133 H 96.6°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#DEC556
RGBrgb(222, 197, 86)
HSLhsl(49, 67%, 60%)
HSVhsv(49, 61%, 87%)
CMYKcmyk(0%, 11.3%, 61.3%, 12.9%)
CIE-LABlab(79.69, -4.12, 57.48)
CIE-LCHlch(79.69, 57.63, 94.10°)
OKLaboklab(82.36% -0.0154 0.1319)
OKLCHoklch(82.36% 0.133 96.6)
XYZxyz(51.7724, 56.1364, 16.9107)
Luminance0.5613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC556 #566FDE
analogous
#DE8156 #DEC556 #B3DE56
triadic
#DEC556 #56DEC5 #C556DE
tetradic
#DEC556 #56DE81 #566FDE #DE56B3
square
#DEC556 #56DE81 #566FDE #DE56B3
split-complementary
#DEC556 #56B3DE #8156DE
monochromatic
#9B841E #CEB028 #DEC556 #E8D789 #F2E8BC

Accessibility & contrast

On white

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

On black

12.23
#DEC556 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC556
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC556#FFFFFF#000000##000000
##DEC5561.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14A
Deuteranopia (green-blind)
#DEC95B
Tritanopia (blue-blind)
#EEB7AD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dec556;
/* rgb */ color: rgb(222, 197, 86);
/* oklch */ color: oklch(82.4% 0.133 96.6);
Tailwind
colors: {
  custom: {
    50: '#ebd68a',
    500: '#dec556',
    950: '#000000',
  },
}
SCSS
$custom: #dec556;
$custom-light: #ebd68a;
$custom-dark: #000000;
JSON
{
  "hex": "#dec556",
  "rgb": {
    "r": 222,
    "g": 197,
    "b": 86
  },
  "hsl": {
    "h": 48.971,
    "s": 67.327,
    "l": 60.392
  },
  "oklch": {
    "l": 0.82355,
    "c": 0.13282,
    "h": 96.6
  },
  "luminance": 0.56134
}

Semantic roles & 50–950 ramp

primary
#DEC556
secondary
#394C9F
accent
#38CF16
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC556

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

Preview Lab → · Contrast checker → · Palette generator →

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