#DEC956#DEC956

#DEC956 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.2% C 0.136 H 99.0°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#DEC956
RGBrgb(222, 201, 86)
HSLhsl(51, 67%, 60%)
HSVhsv(51, 61%, 87%)
CMYKcmyk(0%, 9.5%, 61.3%, 12.9%)
CIE-LABlab(80.73, -6.18, 58.62)
CIE-LCHlch(80.73, 58.94, 96.01°)
OKLaboklab(83.18% -0.0213 0.1344)
OKLCHoklch(83.18% 0.136 99)
XYZxyz(52.6927, 57.9771, 17.2174)
Luminance0.5797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC956 #566BDE
analogous
#DE8556 #DEC956 #AFDE56
triadic
#DEC956 #56DEC9 #C956DE
tetradic
#DEC956 #56DE85 #566BDE #DE56AF
square
#DEC956 #56DE85 #566BDE #DE56AF
split-complementary
#DEC956 #56AFDE #8556DE
monochromatic
#9B881E #CEB528 #DEC956 #E8D989 #F2EABC

Accessibility & contrast

On white

1.67
#DEC956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#DEC956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC956
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC956#FFFFFF#000000##000000
##DEC9561.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC449
Deuteranopia (green-blind)
#E1CC5C
Tritanopia (blue-blind)
#EEBCB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dec956;
/* rgb */ color: rgb(222, 201, 86);
/* oklch */ color: oklch(83.2% 0.136 99.0);
Tailwind
colors: {
  custom: {
    50: '#ebd98a',
    500: '#dec956',
    950: '#000000',
  },
}
SCSS
$custom: #dec956;
$custom-light: #ebd98a;
$custom-dark: #000000;
JSON
{
  "hex": "#dec956",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 86
  },
  "hsl": {
    "h": 50.735,
    "s": 67.327,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83175,
    "c": 0.13602,
    "h": 99
  },
  "luminance": 0.57975
}

Semantic roles & 50–950 ramp

primary
#DEC956
secondary
#39499F
accent
#33CF16
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC956

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

Preview Lab → · Contrast checker → · Palette generator →

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