#DEC56E#DEC56E

#DEC56E is a very light, moderate yellow. Relative luminance 0.566; OKLCH L 82.6% C 0.111 H 93.8°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#DEC56E
RGBrgb(222, 197, 110)
HSLhsl(47, 63%, 65%)
HSVhsv(47, 50%, 87%)
CMYKcmyk(0%, 11.3%, 50.5%, 12.9%)
CIE-LABlab(79.95, -2.27, 46.52)
CIE-LCHlch(79.95, 46.57, 92.79°)
OKLaboklab(82.64% -0.0073 0.1108)
OKLCHoklch(82.64% 0.111 93.8)
XYZxyz(52.9067, 56.5902, 22.8850)
Luminance0.5659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC56E #6E87DE
analogous
#DE8D6E #DEC56E #BFDE6E
triadic
#DEC56E #6EDEC5 #C56EDE
tetradic
#DEC56E #6EDE8D #6E87DE #DE6EBF
square
#DEC56E #6EDE8D #6E87DE #DE6EBF
split-complementary
#DEC56E #6EBFDE #8D6EDE
monochromatic
#AB8D27 #D3B13C #DEC56E #E9D9A0 #F5EDD2

Accessibility & contrast

On white

1.70
#DEC56E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#DEC56E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC56E
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC56E#FFFFFF#000000##000000
##DEC56E1.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C267
Deuteranopia (green-blind)
#DCCA71
Tritanopia (blue-blind)
#EDB9B0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dec56e;
/* rgb */ color: rgb(222, 197, 110);
/* oklch */ color: oklch(82.6% 0.111 93.8);
Tailwind
colors: {
  custom: {
    50: '#ead699',
    500: '#dec56e',
    950: '#000000',
  },
}
SCSS
$custom: #dec56e;
$custom-light: #ead699;
$custom-dark: #000000;
JSON
{
  "hex": "#dec56e",
  "rgb": {
    "r": 222,
    "g": 197,
    "b": 110
  },
  "hsl": {
    "h": 46.607,
    "s": 62.921,
    "l": 65.098
  },
  "oklch": {
    "l": 0.82642,
    "c": 0.11101,
    "h": 93.8
  },
  "luminance": 0.56588
}

Semantic roles & 50–950 ramp

primary
#DEC56E
secondary
#435BAD
accent
#42CB1B
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DEC56E

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

Preview Lab → · Contrast checker → · Palette generator →

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