#DEF488#DEF488

#DEF488 is a very light, vivid yellow-green. Relative luminance 0.820; OKLCH L 92.8% C 0.136 H 118.6°. Best body text is #000000 at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#DEF488
RGBrgb(222, 244, 136)
HSLhsl(72, 83%, 75%)
HSVhsv(72, 44%, 96%)
CMYKcmyk(9%, 0%, 44.3%, 4.3%)
CIE-LABlab(92.58, -23.20, 49.43)
CIE-LCHlch(92.58, 54.61, 115.14°)
OKLaboklab(92.79% -0.0648 0.1191)
OKLCHoklch(92.79% 0.136 118.6)
XYZxyz(66.9192, 82.0089, 35.5917)
Luminance0.8201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF488 #9E88F4
analogous
#F4D488 #DEF488 #A8F488
triadic
#DEF488 #88DEF4 #F488DE
tetradic
#DEF488 #88F4D4 #9E88F4 #F488A8
square
#DEF488 #88F4D4 #9E88F4 #F488A8
split-complementary
#DEF488 #88A8F4 #D488F4
monochromatic
#BFEA18 #CEEF50 #DEF488 #EEF9C0 #F7FCE3

Accessibility & contrast

On white

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

On black

17.40
#DEF488 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF488
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF488#FFFFFF#000000##000000
##DEF4881.001.2117.4017.40
#FFFFFF1.211.0021.0021.00
#00000017.4021.001.001.00
##00000017.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA7F
Deuteranopia (green-blind)
#FEEA8E
Tritanopia (blue-blind)
#E8EADA
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #def488;
/* rgb */ color: rgb(222, 244, 136);
/* oklch */ color: oklch(92.8% 0.136 118.6);
Tailwind
colors: {
  custom: {
    50: '#eaf7ac',
    500: '#def488',
    950: '#000000',
  },
}
SCSS
$custom: #def488;
$custom-light: #eaf7ac;
$custom-dark: #000000;
JSON
{
  "hex": "#def488",
  "rgb": {
    "r": 222,
    "g": 244,
    "b": 136
  },
  "hsl": {
    "h": 72.222,
    "s": 83.077,
    "l": 74.51
  },
  "oklch": {
    "l": 0.92793,
    "c": 0.13558,
    "h": 118.6
  },
  "luminance": 0.82009
}

Semantic roles & 50–950 ramp

primary
#DEF488
secondary
#6A50D1
accent
#06DF32
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF488

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

Preview Lab → · Contrast checker → · Palette generator →

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