#DEC56F#DEC56F

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

Color values

HEX#DEC56F
RGBrgb(222, 197, 111)
HSLhsl(46, 63%, 65%)
HSVhsv(46, 50%, 87%)
CMYKcmyk(0%, 11.3%, 50%, 12.9%)
CIE-LABlab(79.96, -2.18, 46.04)
CIE-LCHlch(79.96, 46.09, 92.71°)
OKLaboklab(82.66% -0.0069 0.1098)
OKLCHoklch(82.66% 0.11 93.6)
XYZxyz(52.9615, 56.6121, 23.1733)
Luminance0.5661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC56F #6F88DE
analogous
#DE8D6F #DEC56F #C0DE6F
triadic
#DEC56F #6FDEC5 #C56FDE
tetradic
#DEC56F #6FDE8D #6F88DE #DE6FC0
square
#DEC56F #6FDE8D #6F88DE #DE6FC0
split-complementary
#DEC56F #6FC0DE #8D6FDE
monochromatic
#AB8E27 #D3B13D #DEC56F #E9D9A1 #F5EDD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEC56F#FFFFFF#000000##000000
##DEC56F1.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)
#D5C268
Deuteranopia (green-blind)
#DCCA72
Tritanopia (blue-blind)
#EDB9B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dec56f;
/* rgb */ color: rgb(222, 197, 111);
/* oklch */ color: oklch(82.7% 0.110 93.6);
Tailwind
colors: {
  custom: {
    50: '#ead69a',
    500: '#dec56f',
    950: '#000000',
  },
}
SCSS
$custom: #dec56f;
$custom-light: #ead69a;
$custom-dark: #000000;
JSON
{
  "hex": "#dec56f",
  "rgb": {
    "r": 222,
    "g": 197,
    "b": 111
  },
  "hsl": {
    "h": 46.486,
    "s": 62.712,
    "l": 65.294
  },
  "oklch": {
    "l": 0.82656,
    "c": 0.11002,
    "h": 93.6
  },
  "luminance": 0.5661
}

Semantic roles & 50–950 ramp

primary
#DEC56F
secondary
#445CAE
accent
#43CA1B
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DEC56F

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

Preview Lab → · Contrast checker → · Palette generator →

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