#DEC56D#DEC56D

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

Color values

HEX#DEC56D
RGBrgb(222, 197, 109)
HSLhsl(47, 63%, 65%)
HSVhsv(47, 51%, 87%)
CMYKcmyk(0%, 11.3%, 50.9%, 12.9%)
CIE-LABlab(79.94, -2.36, 46.99)
CIE-LCHlch(79.94, 47.05, 92.87°)
OKLaboklab(82.63% -0.0076 0.1117)
OKLCHoklch(82.63% 0.112 93.9)
XYZxyz(52.8526, 56.5685, 22.5999)
Luminance0.5657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC56D #6D86DE
analogous
#DE8D6D #DEC56D #BEDE6D
triadic
#DEC56D #6DDEC5 #C56DDE
tetradic
#DEC56D #6DDE8D #6D86DE #DE6DBE
square
#DEC56D #6DDE8D #6D86DE #DE6DBE
split-complementary
#DEC56D #6DBEDE #8D6DDE
monochromatic
#AA8D26 #D3B13B #DEC56D #E9D99F #F5EDD1

Accessibility & contrast

On white

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

On black

12.31
#DEC56D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC56D
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC56D#FFFFFF#000000##000000
##DEC56D1.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dec56d;
/* rgb */ color: rgb(222, 197, 109);
/* oklch */ color: oklch(82.6% 0.112 93.9);
Tailwind
colors: {
  custom: {
    50: '#ead699',
    500: '#dec56d',
    950: '#000000',
  },
}
SCSS
$custom: #dec56d;
$custom-light: #ead699;
$custom-dark: #000000;
JSON
{
  "hex": "#dec56d",
  "rgb": {
    "r": 222,
    "g": 197,
    "b": 109
  },
  "hsl": {
    "h": 46.726,
    "s": 63.128,
    "l": 64.902
  },
  "oklch": {
    "l": 0.82628,
    "c": 0.112,
    "h": 93.9
  },
  "luminance": 0.56566
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DEC56D

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

Preview Lab → · Contrast checker → · Palette generator →

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