#DEF38D#DEF38D

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

Color values

HEX#DEF38D
RGBrgb(222, 243, 141)
HSLhsl(72, 81%, 75%)
HSVhsv(72, 42%, 95%)
CMYKcmyk(8.6%, 0%, 42%, 4.7%)
CIE-LABlab(92.38, -22.20, 46.78)
CIE-LCHlch(92.38, 51.78, 115.38°)
OKLaboklab(92.65% -0.0616 0.1134)
OKLCHoklch(92.65% 0.129 118.5)
XYZxyz(66.9828, 81.5542, 37.4070)
Luminance0.8155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF38D #A28DF3
analogous
#F3D58D #DEF38D #ABF38D
triadic
#DEF38D #8DDEF3 #F38DDE
tetradic
#DEF38D #8DF3D5 #A28DF3 #F38DAB
square
#DEF38D #8DF3D5 #A28DF3 #F38DAB
split-complementary
#DEF38D #8DABF3 #D58DF3
monochromatic
#BEE71E #CEED56 #DEF38D #EEF9C4 #F7FCE3

Accessibility & contrast

On white

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

On black

17.31
#DEF38D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF38D
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF38D#FFFFFF#000000##000000
##DEF38D1.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE985
Deuteranopia (green-blind)
#FDEA92
Tritanopia (blue-blind)
#E7E9DA
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #def38d;
/* rgb */ color: rgb(222, 243, 141);
/* oklch */ color: oklch(92.7% 0.129 118.5);
Tailwind
colors: {
  custom: {
    50: '#e9f7b0',
    500: '#def38d',
    950: '#000000',
  },
}
SCSS
$custom: #def38d;
$custom-light: #e9f7b0;
$custom-dark: #000000;
JSON
{
  "hex": "#def38d",
  "rgb": {
    "r": 222,
    "g": 243,
    "b": 141
  },
  "hsl": {
    "h": 72.353,
    "s": 80.952,
    "l": 75.294
  },
  "oklch": {
    "l": 0.92653,
    "c": 0.12907,
    "h": 118.5
  },
  "luminance": 0.81554
}

Semantic roles & 50–950 ramp

primary
#DEF38D
secondary
#6E54D0
accent
#08DD34
background
#FEFFFD
surface
#FDFEF7
border
#D5D6D0
text
#161711
muted
#848581

Preview Lab

Preview with #DEF38D

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

Preview Lab → · Contrast checker → · Palette generator →

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