#DEF188#DEF188

#DEF188 is a very light, vivid yellow-green. Relative luminance 0.802; OKLCH L 92.2% C 0.132 H 117.5°. Best body text is #000000 at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#DEF188
RGBrgb(222, 241, 136)
HSLhsl(71, 79%, 74%)
HSVhsv(71, 44%, 95%)
CMYKcmyk(7.9%, 0%, 43.6%, 5.5%)
CIE-LABlab(91.78, -21.76, 48.45)
CIE-LCHlch(91.78, 53.11, 114.19°)
OKLaboklab(92.16% -0.0608 0.1169)
OKLCHoklch(92.16% 0.132 117.5)
XYZxyz(66.0239, 80.2183, 35.2933)
Luminance0.8022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF188 #9B88F1
analogous
#F1D088 #DEF188 #AAF188
triadic
#DEF188 #88DEF1 #F188DE
tetradic
#DEF188 #88F1D0 #9B88F1 #F188AA
square
#DEF188 #88F1D0 #9B88F1 #F188AA
split-complementary
#DEF188 #88AAF1 #D088F1
monochromatic
#BFE41B #CFEB51 #DEF188 #EDF7BF #F7FCE4

Accessibility & contrast

On white

1.23
#DEF188 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.04
#DEF188 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF188
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF188#FFFFFF#000000##000000
##DEF1881.001.2317.0417.04
#FFFFFF1.231.0021.0021.00
#00000017.0421.001.001.00
##00000017.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE77F
Deuteranopia (green-blind)
#FCE88D
Tritanopia (blue-blind)
#E8E7D8
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #def188;
/* rgb */ color: rgb(222, 241, 136);
/* oklch */ color: oklch(92.2% 0.132 117.5);
Tailwind
colors: {
  custom: {
    50: '#eaf5ac',
    500: '#def188',
    950: '#000000',
  },
}
SCSS
$custom: #def188;
$custom-light: #eaf5ac;
$custom-dark: #000000;
JSON
{
  "hex": "#def188",
  "rgb": {
    "r": 222,
    "g": 241,
    "b": 136
  },
  "hsl": {
    "h": 70.857,
    "s": 78.947,
    "l": 73.922
  },
  "oklch": {
    "l": 0.92156,
    "c": 0.13173,
    "h": 117.5
  },
  "luminance": 0.80218
}

Semantic roles & 50–950 ramp

primary
#DEF188
secondary
#6750CD
accent
#0ADB30
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF188

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

Preview Lab → · Contrast checker → · Palette generator →

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