#DEF189#DEF189

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

Color values

HEX#DEF189
RGBrgb(222, 241, 137)
HSLhsl(71, 79%, 74%)
HSVhsv(71, 43%, 95%)
CMYKcmyk(7.9%, 0%, 43.2%, 5.5%)
CIE-LABlab(91.80, -21.66, 47.98)
CIE-LCHlch(91.80, 52.64, 114.29°)
OKLaboklab(92.17% -0.0604 0.1159)
OKLCHoklch(92.17% 0.131 117.5)
XYZxyz(66.0953, 80.2468, 35.6693)
Luminance0.8025 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF189 #9C89F1
analogous
#F1D089 #DEF189 #AAF189
triadic
#DEF189 #89DEF1 #F189DE
tetradic
#DEF189 #89F1D0 #9C89F1 #F189AA
square
#DEF189 #89F1D0 #9C89F1 #F189AA
split-complementary
#DEF189 #89AAF1 #D089F1
monochromatic
#BFE41C #CFEB52 #DEF189 #EDF7C0 #F7FCE4

Accessibility & contrast

On white

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

On black

17.05
#DEF189 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF189
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF189#FFFFFF#000000##000000
##DEF1891.001.2317.0517.05
#FFFFFF1.231.0021.0021.00
#00000017.0521.001.001.00
##00000017.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def189;
/* rgb */ color: rgb(222, 241, 137);
/* oklch */ color: oklch(92.2% 0.131 117.5);
Tailwind
colors: {
  custom: {
    50: '#eaf5ad',
    500: '#def189',
    950: '#000000',
  },
}
SCSS
$custom: #def189;
$custom-light: #eaf5ad;
$custom-dark: #000000;
JSON
{
  "hex": "#def189",
  "rgb": {
    "r": 222,
    "g": 241,
    "b": 137
  },
  "hsl": {
    "h": 70.962,
    "s": 78.788,
    "l": 74.118
  },
  "oklch": {
    "l": 0.9217,
    "c": 0.13068,
    "h": 117.5
  },
  "luminance": 0.80246
}

Semantic roles & 50–950 ramp

primary
#DEF189
secondary
#6851CD
accent
#0ADB31
background
#FEFFFD
surface
#FDFEF7
border
#D5D6D0
text
#161710
muted
#848581

Preview Lab

Preview with #DEF189

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

Preview Lab → · Contrast checker → · Palette generator →

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