#DEC56B#DEC56B

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

Color values

HEX#DEC56B
RGBrgb(222, 197, 107)
HSLhsl(47, 64%, 65%)
HSVhsv(47, 52%, 87%)
CMYKcmyk(0%, 11.3%, 51.8%, 12.9%)
CIE-LABlab(79.91, -2.53, 47.94)
CIE-LCHlch(79.91, 48.00, 93.02°)
OKLaboklab(82.6% -0.0084 0.1136)
OKLCHoklch(82.6% 0.114 94.2)
XYZxyz(52.7462, 56.5259, 22.0393)
Luminance0.5652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC56B #6B84DE
analogous
#DE8C6B #DEC56B #BDDE6B
triadic
#DEC56B #6BDEC5 #C56BDE
tetradic
#DEC56B #6BDE8C #6B84DE #DE6BBD
square
#DEC56B #6BDE8C #6B84DE #DE6BBD
split-complementary
#DEC56B #6BBDDE #8C6BDE
monochromatic
#A98C26 #D3B139 #DEC56B #E9D99D #F4ECCF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEC56B#FFFFFF#000000##000000
##DEC56B1.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)
#D5C263
Deuteranopia (green-blind)
#DCC96F
Tritanopia (blue-blind)
#EDB9B0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dec56b;
/* rgb */ color: rgb(222, 197, 107);
/* oklch */ color: oklch(82.6% 0.114 94.2);
Tailwind
colors: {
  custom: {
    50: '#ead697',
    500: '#dec56b',
    950: '#000000',
  },
}
SCSS
$custom: #dec56b;
$custom-light: #ead697;
$custom-dark: #000000;
JSON
{
  "hex": "#dec56b",
  "rgb": {
    "r": 222,
    "g": 197,
    "b": 107
  },
  "hsl": {
    "h": 46.957,
    "s": 63.536,
    "l": 64.51
  },
  "oklch": {
    "l": 0.82601,
    "c": 0.11395,
    "h": 94.2
  },
  "luminance": 0.56524
}

Semantic roles & 50–950 ramp

primary
#DEC56B
secondary
#4259AB
accent
#41CB1A
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DEC56B

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

Preview Lab → · Contrast checker → · Palette generator →

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