#DEFA8A#DEFA8A

#DEFA8A is a very light, vivid yellow-green. Relative luminance 0.857; OKLCH L 94.1% C 0.141 H 120.7°. Best body text is #000000 at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#DEFA8A
RGBrgb(222, 250, 138)
HSLhsl(75, 92%, 76%)
HSVhsv(75, 45%, 98%)
CMYKcmyk(11.2%, 0%, 44.8%, 2%)
CIE-LABlab(94.20, -25.85, 50.49)
CIE-LCHlch(94.20, 56.72, 117.11°)
OKLaboklab(94.1% -0.0722 0.1215)
OKLCHoklch(94.1% 0.141 120.7)
XYZxyz(68.8975, 85.7359, 36.9589)
Luminance0.8574 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFA8A #A68AFA
analogous
#FADE8A #DEFA8A #A6FA8A
triadic
#DEFA8A #8ADEFA #FA8ADE
tetradic
#DEFA8A #8AFADE #A68AFA #FA8AA6
square
#DEFA8A #8AFADE #A68AFA #FA8AA6
split-complementary
#DEFA8A #8AA6FA #DE8AFA
monochromatic
#BDF515 #CDF74F #DEFA8A #EFFDC5 #F7FEE2

Accessibility & contrast

On white

1.16
#DEFA8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.15
#DEFA8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFA8A
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFA8A#FFFFFF#000000##000000
##DEFA8A1.001.1618.1518.15
#FFFFFF1.161.0021.0021.00
#00000018.1521.001.001.00
##00000018.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF81
Deuteranopia (green-blind)
#FFEF90
Tritanopia (blue-blind)
#E7F0DF
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #defa8a;
/* rgb */ color: rgb(222, 250, 138);
/* oklch */ color: oklch(94.1% 0.141 120.7);
Tailwind
colors: {
  custom: {
    50: '#eafcae',
    500: '#defa8a',
    950: '#000000',
  },
}
SCSS
$custom: #defa8a;
$custom-light: #eafcae;
$custom-dark: #000000;
JSON
{
  "hex": "#defa8a",
  "rgb": {
    "r": 222,
    "g": 250,
    "b": 138
  },
  "hsl": {
    "h": 75,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.94098,
    "c": 0.14135,
    "h": 120.7
  },
  "luminance": 0.85736
}

Semantic roles & 50–950 ramp

primary
#DEFA8A
secondary
#724FD9
accent
#00E639
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEFA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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