#DEF38E#DEF38E

#DEF38E is a very light, vivid yellow-green. Relative luminance 0.816; OKLCH L 92.7% C 0.128 H 118.6°. Best body text is #000000 at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#DEF38E
RGBrgb(222, 243, 142)
HSLhsl(72, 81%, 75%)
HSVhsv(72, 42%, 95%)
CMYKcmyk(8.6%, 0%, 41.6%, 4.7%)
CIE-LABlab(92.39, -22.09, 46.32)
CIE-LCHlch(92.39, 51.31, 115.49°)
OKLaboklab(92.67% -0.0612 0.1124)
OKLCHoklch(92.67% 0.128 118.6)
XYZxyz(67.0576, 81.5841, 37.8006)
Luminance0.8158 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF38E #A38EF3
analogous
#F3D58E #DEF38E #ABF38E
triadic
#DEF38E #8EDEF3 #F38EDE
tetradic
#DEF38E #8EF3D5 #A38EF3 #F38EAB
square
#DEF38E #8EF3D5 #A38EF3 #F38EAB
split-complementary
#DEF38E #8EABF3 #D58EF3
monochromatic
#BEE71F #CEED57 #DEF38E #EEF9C5 #F7FCE3

Accessibility & contrast

On white

1.21
#DEF38E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.32
#DEF38E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF38E
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF38E#FFFFFF#000000##000000
##DEF38E1.001.2117.3217.32
#FFFFFF1.211.0021.0021.00
#00000017.3221.001.001.00
##00000017.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE986
Deuteranopia (green-blind)
#FDEA93
Tritanopia (blue-blind)
#E7E9DB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #def38e;
/* rgb */ color: rgb(222, 243, 142);
/* oklch */ color: oklch(92.7% 0.128 118.6);
Tailwind
colors: {
  custom: {
    50: '#e9f7b0',
    500: '#def38e',
    950: '#000000',
  },
}
SCSS
$custom: #def38e;
$custom-light: #e9f7b0;
$custom-dark: #000000;
JSON
{
  "hex": "#def38e",
  "rgb": {
    "r": 222,
    "g": 243,
    "b": 142
  },
  "hsl": {
    "h": 72.475,
    "s": 80.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.92668,
    "c": 0.12801,
    "h": 118.6
  },
  "luminance": 0.81584
}

Semantic roles & 50–950 ramp

primary
#DEF38E
secondary
#6F55D0
accent
#08DD35
background
#FEFFFD
surface
#FDFEF7
border
#D5D6D0
text
#161711
muted
#848581

Preview Lab

Preview with #DEF38E

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

Preview Lab → · Contrast checker → · Palette generator →

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