#DEF388#DEF388

#DEF388 is a very light, vivid yellow-green. Relative luminance 0.814; OKLCH L 92.6% C 0.134 H 118.2°. Best body text is #000000 at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#DEF388
RGBrgb(222, 243, 136)
HSLhsl(72, 82%, 74%)
HSVhsv(72, 44%, 95%)
CMYKcmyk(8.6%, 0%, 44%, 4.7%)
CIE-LABlab(92.31, -22.72, 49.10)
CIE-LCHlch(92.31, 54.11, 114.83°)
OKLaboklab(92.58% -0.0635 0.1183)
OKLCHoklch(92.58% 0.134 118.2)
XYZxyz(66.6192, 81.4088, 35.4917)
Luminance0.8141 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF388 #9D88F3
analogous
#F3D388 #DEF388 #A9F388
triadic
#DEF388 #88DEF3 #F388DE
tetradic
#DEF388 #88F3D3 #9D88F3 #F388A9
square
#DEF388 #88F3D3 #9D88F3 #F388A9
split-complementary
#DEF388 #88A9F3 #D388F3
monochromatic
#BFE819 #CFED50 #DEF388 #EDF9C0 #F7FCE3

Accessibility & contrast

On white

1.22
#DEF388 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.28
#DEF388 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF388
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF388#FFFFFF#000000##000000
##DEF3881.001.2217.2817.28
#FFFFFF1.221.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE97F
Deuteranopia (green-blind)
#FDEA8D
Tritanopia (blue-blind)
#E8E9DA
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #def388;
/* rgb */ color: rgb(222, 243, 136);
/* oklch */ color: oklch(92.6% 0.134 118.2);
Tailwind
colors: {
  custom: {
    50: '#eaf7ac',
    500: '#def388',
    950: '#000000',
  },
}
SCSS
$custom: #def388;
$custom-light: #eaf7ac;
$custom-dark: #000000;
JSON
{
  "hex": "#def388",
  "rgb": {
    "r": 222,
    "g": 243,
    "b": 136
  },
  "hsl": {
    "h": 71.776,
    "s": 81.679,
    "l": 74.314
  },
  "oklch": {
    "l": 0.9258,
    "c": 0.1343,
    "h": 118.2
  },
  "luminance": 0.81408
}

Semantic roles & 50–950 ramp

primary
#DEF388
secondary
#6950CF
accent
#07DE32
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF388

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

Preview Lab → · Contrast checker → · Palette generator →

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