#DEC856#DEC856

#DEC856 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 83.0% C 0.135 H 98.4°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#DEC856
RGBrgb(222, 200, 86)
HSLhsl(50, 67%, 60%)
HSVhsv(50, 61%, 87%)
CMYKcmyk(0%, 9.9%, 61.3%, 12.9%)
CIE-LABlab(80.47, -5.66, 58.33)
CIE-LCHlch(80.47, 58.61, 95.55°)
OKLaboklab(82.97% -0.0198 0.1338)
OKLCHoklch(82.97% 0.135 98.4)
XYZxyz(52.4603, 57.5124, 17.1400)
Luminance0.5751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC856 #566CDE
analogous
#DE8456 #DEC856 #B0DE56
triadic
#DEC856 #56DEC8 #C856DE
tetradic
#DEC856 #56DE84 #566CDE #DE56B0
square
#DEC856 #56DE84 #566CDE #DE56B0
split-complementary
#DEC856 #56B0DE #8456DE
monochromatic
#9B871E #CEB428 #DEC856 #E8D989 #F2E9BC

Accessibility & contrast

On white

1.68
#DEC856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.50
#DEC856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC856
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC856#FFFFFF#000000##000000
##DEC8561.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC349
Deuteranopia (green-blind)
#E0CB5C
Tritanopia (blue-blind)
#EEBBAF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dec856;
/* rgb */ color: rgb(222, 200, 86);
/* oklch */ color: oklch(83.0% 0.135 98.4);
Tailwind
colors: {
  custom: {
    50: '#ebd88a',
    500: '#dec856',
    950: '#000000',
  },
}
SCSS
$custom: #dec856;
$custom-light: #ebd88a;
$custom-dark: #000000;
JSON
{
  "hex": "#dec856",
  "rgb": {
    "r": 222,
    "g": 200,
    "b": 86
  },
  "hsl": {
    "h": 50.294,
    "s": 67.327,
    "l": 60.392
  },
  "oklch": {
    "l": 0.8297,
    "c": 0.13521,
    "h": 98.4
  },
  "luminance": 0.5751
}

Semantic roles & 50–950 ramp

primary
#DEC856
secondary
#394A9F
accent
#34CF16
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC856

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

Preview Lab → · Contrast checker → · Palette generator →

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