#DEFD8A#DEFD8A

#DEFD8A is a very light, vivid yellow-green. Relative luminance 0.876; OKLCH L 94.7% C 0.145 H 121.6°. Best body text is #000000 at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#DEFD8A
RGBrgb(222, 253, 138)
HSLhsl(76, 97%, 77%)
HSVhsv(76, 45%, 99%)
CMYKcmyk(12.3%, 0%, 45.5%, 0.8%)
CIE-LABlab(95.00, -27.26, 51.47)
CIE-LCHlch(95.00, 58.24, 117.91°)
OKLaboklab(94.74% -0.0761 0.1237)
OKLCHoklch(94.74% 0.145 121.6)
XYZxyz(69.8371, 87.6151, 37.2721)
Luminance0.8761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFD8A #A98AFD
analogous
#FDE38A #DEFD8A #A5FD8A
triadic
#DEFD8A #8ADEFD #FD8ADE
tetradic
#DEFD8A #8AFDE3 #A98AFD #FD8AA5
square
#DEFD8A #8AFDE3 #A98AFD #FD8AA5
split-complementary
#DEFD8A #8AA5FD #E38AFD
monochromatic
#BCFB12 #CDFC4E #DEFD8A #EFFEC6 #F7FEE1

Accessibility & contrast

On white

1.13
#DEFD8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.52
#DEFD8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFD8A
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFD8A#FFFFFF#000000##000000
##DEFD8A1.001.1318.5218.52
#FFFFFF1.131.0021.0021.00
#00000018.5221.001.001.00
##00000018.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF180
Deuteranopia (green-blind)
#FFF190
Tritanopia (blue-blind)
#E7F3E2
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #defd8a;
/* rgb */ color: rgb(222, 253, 138);
/* oklch */ color: oklch(94.7% 0.145 121.6);
Tailwind
colors: {
  custom: {
    50: '#eafeae',
    500: '#defd8a',
    950: '#000000',
  },
}
SCSS
$custom: #defd8a;
$custom-light: #eafeae;
$custom-dark: #000000;
JSON
{
  "hex": "#defd8a",
  "rgb": {
    "r": 222,
    "g": 253,
    "b": 138
  },
  "hsl": {
    "h": 76.174,
    "s": 96.639,
    "l": 76.667
  },
  "oklch": {
    "l": 0.94739,
    "c": 0.14529,
    "h": 121.6
  },
  "luminance": 0.87615
}

Semantic roles & 50–950 ramp

primary
#DEFD8A
secondary
#754EDD
accent
#00E63E
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEFD8A

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

Preview Lab → · Contrast checker → · Palette generator →

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