#DEF288#DEF288

#DEF288 is a very light, vivid yellow-green. Relative luminance 0.808; OKLCH L 92.4% C 0.133 H 117.8°. Best body text is #000000 at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#DEF288
RGBrgb(222, 242, 136)
HSLhsl(71, 80%, 74%)
HSVhsv(71, 44%, 95%)
CMYKcmyk(8.3%, 0%, 43.8%, 5.1%)
CIE-LABlab(92.05, -22.24, 48.78)
CIE-LCHlch(92.05, 53.61, 114.52°)
OKLaboklab(92.37% -0.0621 0.1176)
OKLCHoklch(92.37% 0.133 117.8)
XYZxyz(66.3207, 80.8119, 35.3922)
Luminance0.8081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF288 #9C88F2
analogous
#F2D188 #DEF288 #A9F288
triadic
#DEF288 #88DEF2 #F288DE
tetradic
#DEF288 #88F2D1 #9C88F2 #F288A9
square
#DEF288 #88F2D1 #9C88F2 #F288A9
split-complementary
#DEF288 #88A9F2 #D188F2
monochromatic
#BFE61A #CFEC51 #DEF288 #EDF8BF #F7FCE3

Accessibility & contrast

On white

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

On black

17.16
#DEF288 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF288
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF288#FFFFFF#000000##000000
##DEF2881.001.2217.1617.16
#FFFFFF1.221.0021.0021.00
#00000017.1621.001.001.00
##00000017.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE87F
Deuteranopia (green-blind)
#FCE98D
Tritanopia (blue-blind)
#E8E8D9
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #def288;
/* rgb */ color: rgb(222, 242, 136);
/* oklch */ color: oklch(92.4% 0.133 117.8);
Tailwind
colors: {
  custom: {
    50: '#eaf6ac',
    500: '#def288',
    950: '#000000',
  },
}
SCSS
$custom: #def288;
$custom-light: #eaf6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#def288",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 136
  },
  "hsl": {
    "h": 71.321,
    "s": 80.303,
    "l": 74.118
  },
  "oklch": {
    "l": 0.92368,
    "c": 0.133,
    "h": 117.8
  },
  "luminance": 0.80811
}

Semantic roles & 50–950 ramp

primary
#DEF288
secondary
#6850CE
accent
#09DD31
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF288

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

Preview Lab → · Contrast checker → · Palette generator →

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