#DECF8F#DECF8F

#DECF8F is a very light, moderate yellow. Relative luminance 0.621; OKLCH L 85.2% C 0.084 H 96.5°. Best body text is #000000 at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#DECF8F
RGBrgb(222, 207, 143)
HSLhsl(49, 54%, 72%)
HSVhsv(49, 36%, 87%)
CMYKcmyk(0%, 6.8%, 35.6%, 12.9%)
CIE-LABlab(82.99, -4.05, 33.73)
CIE-LCHlch(82.99, 33.97, 96.85°)
OKLaboklab(85.2% -0.0096 0.0836)
OKLCHoklch(85.2% 0.084 96.5)
XYZxyz(57.3959, 62.1401, 34.9521)
Luminance0.6214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECF8F #8F9EDE
analogous
#DEA88F #DECF8F #C6DE8F
triadic
#DECF8F #8FDECF #CF8FDE
tetradic
#DECF8F #8FDEA8 #8F9EDE #DE8FC6
square
#DECF8F #8FDEA8 #8F9EDE #DE8FC6
split-complementary
#DECF8F #8FC6DE #A88FDE
monochromatic
#BBA237 #D0BB60 #DECF8F #ECE3BE #F8F5E7

Accessibility & contrast

On white

1.56
#DECF8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.43
#DECF8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECF8F
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECF8F#FFFFFF#000000##000000
##DECF8F1.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBCC8A
Deuteranopia (green-blind)
#E0D191
Tritanopia (blue-blind)
#EAC6BF
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #decf8f;
/* rgb */ color: rgb(222, 207, 143);
/* oklch */ color: oklch(85.2% 0.084 96.5);
Tailwind
colors: {
  custom: {
    50: '#e9ddb0',
    500: '#decf8f',
    950: '#000000',
  },
}
SCSS
$custom: #decf8f;
$custom-light: #e9ddb0;
$custom-dark: #000000;
JSON
{
  "hex": "#decf8f",
  "rgb": {
    "r": 222,
    "g": 207,
    "b": 143
  },
  "hsl": {
    "h": 48.608,
    "s": 54.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.85196,
    "c": 0.08411,
    "h": 96.5
  },
  "luminance": 0.62138
}

Semantic roles & 50–950 ramp

primary
#DECF8F
secondary
#5B6DB6
accent
#42C224
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DECF8F

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

Preview Lab → · Contrast checker → · Palette generator →

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