#DECF7B#DECF7B

#DECF7B is a very light, moderate yellow. Relative luminance 0.616; OKLCH L 84.9% C 0.106 H 99.4°. Best body text is #000000 at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#DECF7B
RGBrgb(222, 207, 123)
HSLhsl(51, 60%, 68%)
HSVhsv(51, 45%, 87%)
CMYKcmyk(0%, 6.8%, 44.6%, 12.9%)
CIE-LABlab(82.69, -6.20, 43.48)
CIE-LCHlch(82.69, 43.92, 98.12°)
OKLaboklab(84.87% -0.0174 0.1049)
OKLCHoklch(84.87% 0.106 99.4)
XYZxyz(56.0136, 61.5872, 27.6720)
Luminance0.6159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECF7B #7B8ADE
analogous
#DE9D7B #DECF7B #BCDE7B
triadic
#DECF7B #7BDECF #CF7BDE
tetradic
#DECF7B #7BDE9D #7B8ADE #DE7BBC
square
#DECF7B #7BDE9D #7B8ADE #DE7BBC
split-complementary
#DECF7B #7BBCDE #9D7BDE
monochromatic
#B29E2D #D2BD4A #DECF7B #EAE1AC #F6F3DD

Accessibility & contrast

On white

1.58
#DECF7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.32
#DECF7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECF7B
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECF7B#FFFFFF#000000##000000
##DECF7B1.001.5813.3213.32
#FFFFFF1.581.0021.0021.00
#00000013.3221.001.001.00
##00000013.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECA74
Deuteranopia (green-blind)
#E2D07E
Tritanopia (blue-blind)
#EBC4BB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #decf7b;
/* rgb */ color: rgb(222, 207, 123);
/* oklch */ color: oklch(84.9% 0.106 99.4);
Tailwind
colors: {
  custom: {
    50: '#eadda2',
    500: '#decf7b',
    950: '#000000',
  },
}
SCSS
$custom: #decf7b;
$custom-light: #eadda2;
$custom-dark: #000000;
JSON
{
  "hex": "#decf7b",
  "rgb": {
    "r": 222,
    "g": 207,
    "b": 123
  },
  "hsl": {
    "h": 50.909,
    "s": 60,
    "l": 67.647
  },
  "oklch": {
    "l": 0.84867,
    "c": 0.10637,
    "h": 99.4
  },
  "luminance": 0.61585
}

Semantic roles & 50–950 ramp

primary
#DECF7B
secondary
#495AB4
accent
#38C81E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DECF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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