#DEC156#DEC156

#DEC156 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.5% C 0.130 H 94.2°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#DEC156
RGBrgb(222, 193, 86)
HSLhsl(47, 67%, 60%)
HSVhsv(47, 61%, 87%)
CMYKcmyk(0%, 13.1%, 61.3%, 12.9%)
CIE-LABlab(78.66, -2.05, 56.34)
CIE-LCHlch(78.66, 56.38, 92.09°)
OKLaboklab(81.54% -0.0094 0.1295)
OKLCHoklch(81.54% 0.13 94.2)
XYZxyz(50.8761, 54.3440, 16.6119)
Luminance0.5434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC156 #5673DE
analogous
#DE7D56 #DEC156 #B7DE56
triadic
#DEC156 #56DEC1 #C156DE
tetradic
#DEC156 #56DE7D #5673DE #DE56B7
square
#DEC156 #56DE7D #5673DE #DE56B7
split-complementary
#DEC156 #56B7DE #7D56DE
monochromatic
#9B811E #CEAB28 #DEC156 #E8D489 #F2E7BC

Accessibility & contrast

On white

1.77
#DEC156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#DEC156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC156
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC156#FFFFFF#000000##000000
##DEC1561.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE4A
Deuteranopia (green-blind)
#DBC65B
Tritanopia (blue-blind)
#EFB3AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dec156;
/* rgb */ color: rgb(222, 193, 86);
/* oklch */ color: oklch(81.5% 0.130 94.2);
Tailwind
colors: {
  custom: {
    50: '#ebd38a',
    500: '#dec156',
    950: '#000000',
  },
}
SCSS
$custom: #dec156;
$custom-light: #ebd38a;
$custom-dark: #000000;
JSON
{
  "hex": "#dec156",
  "rgb": {
    "r": 222,
    "g": 193,
    "b": 86
  },
  "hsl": {
    "h": 47.206,
    "s": 67.327,
    "l": 60.392
  },
  "oklch": {
    "l": 0.81541,
    "c": 0.12985,
    "h": 94.2
  },
  "luminance": 0.54341
}

Semantic roles & 50–950 ramp

primary
#DEC156
secondary
#394F9F
accent
#3ECF16
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC156

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

Preview Lab → · Contrast checker → · Palette generator →

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