#DEFD7D#DEFD7D

#DEFD7D is a very light, vivid yellow-green. Relative luminance 0.873; OKLCH L 94.6% C 0.158 H 120.8°. Best body text is #000000 at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#DEFD7D
RGBrgb(222, 253, 125)
HSLhsl(75, 97%, 74%)
HSVhsv(75, 51%, 99%)
CMYKcmyk(12.3%, 0%, 50.6%, 0.8%)
CIE-LABlab(94.85, -28.53, 57.31)
CIE-LCHlch(94.85, 64.02, 116.46°)
OKLaboklab(94.57% -0.0808 0.1357)
OKLCHoklch(94.57% 0.158 120.8)
XYZxyz(68.9516, 87.2609, 32.6086)
Luminance0.8726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFD7D #9C7DFD
analogous
#FDDC7D #DEFD7D #9EFD7D
triadic
#DEFD7D #7DDEFD #FD7DDE
tetradic
#DEFD7D #7DFDDC #9C7DFD #FD7D9E
square
#DEFD7D #7DFDDC #9C7DFD #FD7D9E
split-complementary
#DEFD7D #7D9EFD #DC7DFD
monochromatic
#BFFB04 #CFFC41 #DEFD7D #EDFEB9 #F7FFE1

Accessibility & contrast

On white

1.14
#DEFD7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.45
#DEFD7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFD7D
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFD7D#FFFFFF#000000##000000
##DEFD7D1.001.1418.4518.45
#FFFFFF1.141.0021.0021.00
#00000018.4521.001.001.00
##00000018.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF171
Deuteranopia (green-blind)
#FFF084
Tritanopia (blue-blind)
#E8F2E0
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #defd7d;
/* rgb */ color: rgb(222, 253, 125);
/* oklch */ color: oklch(94.6% 0.158 120.8);
Tailwind
colors: {
  custom: {
    50: '#eafea6',
    500: '#defd7d',
    950: '#000000',
  },
}
SCSS
$custom: #defd7d;
$custom-light: #eafea6;
$custom-dark: #000000;
JSON
{
  "hex": "#defd7d",
  "rgb": {
    "r": 222,
    "g": 253,
    "b": 125
  },
  "hsl": {
    "h": 74.531,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.9457,
    "c": 0.15788,
    "h": 120.8
  },
  "luminance": 0.87261
}

Semantic roles & 50–950 ramp

primary
#DEFD7D
secondary
#6843DB
accent
#00E638
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#161710
muted
#858580

Preview Lab

Preview with #DEFD7D

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

Preview Lab → · Contrast checker → · Palette generator →

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