#DECF7F#DECF7F

#DECF7F is a very light, moderate yellow. Relative luminance 0.617; OKLCH L 84.9% C 0.102 H 98.9°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#DECF7F
RGBrgb(222, 207, 127)
HSLhsl(51, 59%, 68%)
HSVhsv(51, 43%, 87%)
CMYKcmyk(0%, 6.8%, 42.8%, 12.9%)
CIE-LABlab(82.75, -5.80, 41.55)
CIE-LCHlch(82.75, 41.95, 97.95°)
OKLaboklab(84.93% -0.0158 0.1008)
OKLCHoklch(84.93% 0.102 98.9)
XYZxyz(56.2691, 61.6894, 29.0178)
Luminance0.6169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECF7F #7F8EDE
analogous
#DE9F7F #DECF7F #BDDE7F
triadic
#DECF7F #7FDECF #CF7FDE
tetradic
#DECF7F #7FDE9F #7F8EDE #DE7FBD
square
#DECF7F #7FDE9F #7F8EDE #DE7FBD
split-complementary
#DECF7F #7FBDDE #9F7FDE
monochromatic
#B49F2E #D1BD4E #DECF7F #EBE1B0 #F7F3E0

Accessibility & contrast

On white

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

On black

13.34
#DECF7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECF7F
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECF7F#FFFFFF#000000##000000
##DECF7F1.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #decf7f;
/* rgb */ color: rgb(222, 207, 127);
/* oklch */ color: oklch(84.9% 0.102 98.9);
Tailwind
colors: {
  custom: {
    50: '#eadda5',
    500: '#decf7f',
    950: '#000000',
  },
}
SCSS
$custom: #decf7f;
$custom-light: #eadda5;
$custom-dark: #000000;
JSON
{
  "hex": "#decf7f",
  "rgb": {
    "r": 222,
    "g": 207,
    "b": 127
  },
  "hsl": {
    "h": 50.526,
    "s": 59.006,
    "l": 68.431
  },
  "oklch": {
    "l": 0.84928,
    "c": 0.10207,
    "h": 98.9
  },
  "luminance": 0.61688
}

Semantic roles & 50–950 ramp

primary
#DECF7F
secondary
#4C5DB5
accent
#39C71F
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DECF7F

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

Preview Lab → · Contrast checker → · Palette generator →

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