#DECF7D#DECF7D

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

Color values

HEX#DECF7D
RGBrgb(222, 207, 125)
HSLhsl(51, 60%, 68%)
HSVhsv(51, 44%, 87%)
CMYKcmyk(0%, 6.8%, 43.7%, 12.9%)
CIE-LABlab(82.72, -6.00, 42.51)
CIE-LCHlch(82.72, 42.94, 98.04°)
OKLaboklab(84.9% -0.0166 0.1029)
OKLCHoklch(84.9% 0.104 99.2)
XYZxyz(56.1400, 61.6377, 28.3381)
Luminance0.6164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECF7D #7D8CDE
analogous
#DE9E7D #DECF7D #BCDE7D
triadic
#DECF7D #7DDECF #CF7DDE
tetradic
#DECF7D #7DDE9E #7D8CDE #DE7DBC
square
#DECF7D #7DDE9E #7D8CDE #DE7DBC
split-complementary
#DECF7D #7DBCDE #9E7DDE
monochromatic
#B39E2D #D2BD4C #DECF7D #EAE1AE #F7F3DF

Accessibility & contrast

On white

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

On black

13.33
#DECF7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECF7D
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECF7D#FFFFFF#000000##000000
##DECF7D1.001.5813.3313.33
#FFFFFF1.581.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #decf7d;
/* rgb */ color: rgb(222, 207, 125);
/* oklch */ color: oklch(84.9% 0.104 99.2);
Tailwind
colors: {
  custom: {
    50: '#eadda4',
    500: '#decf7d',
    950: '#000000',
  },
}
SCSS
$custom: #decf7d;
$custom-light: #eadda4;
$custom-dark: #000000;
JSON
{
  "hex": "#decf7d",
  "rgb": {
    "r": 222,
    "g": 207,
    "b": 125
  },
  "hsl": {
    "h": 50.722,
    "s": 59.509,
    "l": 68.039
  },
  "oklch": {
    "l": 0.84897,
    "c": 0.10423,
    "h": 99.2
  },
  "luminance": 0.61636
}

Semantic roles & 50–950 ramp

primary
#DECF7D
secondary
#4B5BB5
accent
#38C71E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DECF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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