#DEC456#DEC456

#DEC456 is a very light, vivid yellow. Relative luminance 0.557; OKLCH L 82.2% C 0.132 H 96.0°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#DEC456
RGBrgb(222, 196, 86)
HSLhsl(49, 67%, 60%)
HSVhsv(49, 61%, 87%)
CMYKcmyk(0%, 11.7%, 61.3%, 12.9%)
CIE-LABlab(79.43, -3.61, 57.20)
CIE-LCHlch(79.43, 57.31, 93.61°)
OKLaboklab(82.15% -0.0139 0.1313)
OKLCHoklch(82.15% 0.132 96)
XYZxyz(51.5461, 55.6838, 16.8352)
Luminance0.5568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC456 #5670DE
analogous
#DE8056 #DEC456 #B4DE56
triadic
#DEC456 #56DEC4 #C456DE
tetradic
#DEC456 #56DE80 #5670DE #DE56B4
square
#DEC456 #56DE80 #5670DE #DE56B4
split-complementary
#DEC456 #56B4DE #8056DE
monochromatic
#9B831E #CEAF28 #DEC456 #E8D689 #F2E8BC

Accessibility & contrast

On white

1.73
#DEC456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.14
#DEC456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC456
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC456#FFFFFF#000000##000000
##DEC4561.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04A
Deuteranopia (green-blind)
#DDC85B
Tritanopia (blue-blind)
#EEB6AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dec456;
/* rgb */ color: rgb(222, 196, 86);
/* oklch */ color: oklch(82.2% 0.132 96.0);
Tailwind
colors: {
  custom: {
    50: '#ebd58a',
    500: '#dec456',
    950: '#000000',
  },
}
SCSS
$custom: #dec456;
$custom-light: #ebd58a;
$custom-dark: #000000;
JSON
{
  "hex": "#dec456",
  "rgb": {
    "r": 222,
    "g": 196,
    "b": 86
  },
  "hsl": {
    "h": 48.529,
    "s": 67.327,
    "l": 60.392
  },
  "oklch": {
    "l": 0.82151,
    "c": 0.13206,
    "h": 96
  },
  "luminance": 0.55681
}

Semantic roles & 50–950 ramp

primary
#DEC456
secondary
#394D9F
accent
#3ACF16
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC456

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

Preview Lab → · Contrast checker → · Palette generator →

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