#DECF8A#DECF8A

#DECF8A is a very light, moderate yellow. Relative luminance 0.620; OKLCH L 85.1% C 0.090 H 97.4°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#DECF8A
RGBrgb(222, 207, 138)
HSLhsl(49, 56%, 71%)
HSVhsv(49, 38%, 87%)
CMYKcmyk(0%, 6.8%, 37.8%, 12.9%)
CIE-LABlab(82.91, -4.62, 36.19)
CIE-LCHlch(82.91, 36.48, 97.28°)
OKLaboklab(85.11% -0.0116 0.0891)
OKLCHoklch(85.11% 0.09 97.4)
XYZxyz(57.0255, 61.9919, 33.0016)
Luminance0.6199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECF8A #8A99DE
analogous
#DEA58A #DECF8A #C3DE8A
triadic
#DECF8A #8ADECF #CF8ADE
tetradic
#DECF8A #8ADEA5 #8A99DE #DE8AC3
square
#DECF8A #8ADEA5 #8A99DE #DE8AC3
split-complementary
#DECF8A #8AC3DE #A58ADE
monochromatic
#B9A234 #D1BB5A #DECF8A #EBE3BA #F8F5E7

Accessibility & contrast

On white

1.57
#DECF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#DECF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECF8A
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECF8A#FFFFFF#000000##000000
##DECF8A1.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCB85
Deuteranopia (green-blind)
#E0D18D
Tritanopia (blue-blind)
#EAC5BE
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #decf8a;
/* rgb */ color: rgb(222, 207, 138);
/* oklch */ color: oklch(85.1% 0.090 97.4);
Tailwind
colors: {
  custom: {
    50: '#e9ddad',
    500: '#decf8a',
    950: '#000000',
  },
}
SCSS
$custom: #decf8a;
$custom-light: #e9ddad;
$custom-dark: #000000;
JSON
{
  "hex": "#decf8a",
  "rgb": {
    "r": 222,
    "g": 207,
    "b": 138
  },
  "hsl": {
    "h": 49.286,
    "s": 56,
    "l": 70.588
  },
  "oklch": {
    "l": 0.85108,
    "c": 0.08985,
    "h": 97.4
  },
  "luminance": 0.6199
}

Semantic roles & 50–950 ramp

primary
#DECF8A
secondary
#5768B5
accent
#3FC422
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DECF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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