#DECF8B#DECF8B

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

Color values

HEX#DECF8B
RGBrgb(222, 207, 139)
HSLhsl(49, 56%, 71%)
HSVhsv(49, 37%, 87%)
CMYKcmyk(0%, 6.8%, 37.4%, 12.9%)
CIE-LABlab(82.92, -4.51, 35.70)
CIE-LCHlch(82.92, 35.98, 97.20°)
OKLaboklab(85.13% -0.0112 0.088)
OKLCHoklch(85.13% 0.089 97.2)
XYZxyz(57.0982, 62.0210, 33.3846)
Luminance0.6202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECF8B #8B9ADE
analogous
#DEA58B #DECF8B #C3DE8B
triadic
#DECF8B #8BDECF #CF8BDE
tetradic
#DECF8B #8BDEA5 #8B9ADE #DE8BC3
square
#DECF8B #8BDEA5 #8B9ADE #DE8BC3
split-complementary
#DECF8B #8BC3DE #A58BDE
monochromatic
#BAA235 #D0BB5B #DECF8B #ECE3BB #F8F5E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DECF8B#FFFFFF#000000##000000
##DECF8B1.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)
#DCCB86
Deuteranopia (green-blind)
#E0D18D
Tritanopia (blue-blind)
#EAC6BE
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #decf8b;
/* rgb */ color: rgb(222, 207, 139);
/* oklch */ color: oklch(85.1% 0.089 97.2);
Tailwind
colors: {
  custom: {
    50: '#e9ddad',
    500: '#decf8b',
    950: '#000000',
  },
}
SCSS
$custom: #decf8b;
$custom-light: #e9ddad;
$custom-dark: #000000;
JSON
{
  "hex": "#decf8b",
  "rgb": {
    "r": 222,
    "g": 207,
    "b": 139
  },
  "hsl": {
    "h": 49.157,
    "s": 55.705,
    "l": 70.784
  },
  "oklch": {
    "l": 0.85125,
    "c": 0.08871,
    "h": 97.2
  },
  "luminance": 0.62019
}

Semantic roles & 50–950 ramp

primary
#DECF8B
secondary
#5869B6
accent
#3FC322
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DECF8B

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

Preview Lab → · Contrast checker → · Palette generator →

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