#DEC56A#DEC56A

#DEC56A is a very light, moderate yellow. Relative luminance 0.565; OKLCH L 82.6% C 0.115 H 94.3°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#DEC56A
RGBrgb(222, 197, 106)
HSLhsl(47, 64%, 64%)
HSVhsv(47, 52%, 87%)
CMYKcmyk(0%, 11.3%, 52.3%, 12.9%)
CIE-LABlab(79.90, -2.61, 48.41)
CIE-LCHlch(79.90, 48.48, 93.09°)
OKLaboklab(82.59% -0.0087 0.1146)
OKLCHoklch(82.59% 0.115 94.3)
XYZxyz(52.6939, 56.5050, 21.7638)
Luminance0.5650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC56A #6A83DE
analogous
#DE8B6A #DEC56A #BDDE6A
triadic
#DEC56A #6ADEC5 #C56ADE
tetradic
#DEC56A #6ADE8B #6A83DE #DE6ABD
square
#DEC56A #6ADE8B #6A83DE #DE6ABD
split-complementary
#DEC56A #6ABDDE #8B6ADE
monochromatic
#A88C25 #D3B138 #DEC56A #E9D99C #F4ECCE

Accessibility & contrast

On white

1.71
#DEC56A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#DEC56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC56A
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC56A#FFFFFF#000000##000000
##DEC56A1.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dec56a;
/* rgb */ color: rgb(222, 197, 106);
/* oklch */ color: oklch(82.6% 0.115 94.3);
Tailwind
colors: {
  custom: {
    50: '#ebd697',
    500: '#dec56a',
    950: '#000000',
  },
}
SCSS
$custom: #dec56a;
$custom-light: #ebd697;
$custom-dark: #000000;
JSON
{
  "hex": "#dec56a",
  "rgb": {
    "r": 222,
    "g": 197,
    "b": 106
  },
  "hsl": {
    "h": 47.069,
    "s": 63.736,
    "l": 64.314
  },
  "oklch": {
    "l": 0.82588,
    "c": 0.11492,
    "h": 94.3
  },
  "luminance": 0.56503
}

Semantic roles & 50–950 ramp

primary
#DEC56A
secondary
#4158AB
accent
#40CC1A
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DEC56A

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

Preview Lab → · Contrast checker → · Palette generator →

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