#DEF289#DEF289

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

Color values

HEX#DEF289
RGBrgb(222, 242, 137)
HSLhsl(71, 80%, 74%)
HSVhsv(71, 43%, 95%)
CMYKcmyk(8.3%, 0%, 43.4%, 5.1%)
CIE-LABlab(92.06, -22.14, 48.31)
CIE-LCHlch(92.06, 53.14, 114.62°)
OKLaboklab(92.38% -0.0618 0.1166)
OKLCHoklch(92.38% 0.132 117.9)
XYZxyz(66.3921, 80.8405, 35.7682)
Luminance0.8084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF289 #9D89F2
analogous
#F2D289 #DEF289 #AAF289
triadic
#DEF289 #89DEF2 #F289DE
tetradic
#DEF289 #89F2D2 #9D89F2 #F289AA
square
#DEF289 #89F2D2 #9D89F2 #F289AA
split-complementary
#DEF289 #89AAF2 #D289F2
monochromatic
#BFE61B #CFEC52 #DEF289 #EDF8C0 #F7FCE3

Accessibility & contrast

On white

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

On black

17.17
#DEF289 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF289
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF289#FFFFFF#000000##000000
##DEF2891.001.2217.1717.17
#FFFFFF1.221.0021.0021.00
#00000017.1721.001.001.00
##00000017.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def289;
/* rgb */ color: rgb(222, 242, 137);
/* oklch */ color: oklch(92.4% 0.132 117.9);
Tailwind
colors: {
  custom: {
    50: '#eaf6ad',
    500: '#def289',
    950: '#000000',
  },
}
SCSS
$custom: #def289;
$custom-light: #eaf6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#def289",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 137
  },
  "hsl": {
    "h": 71.429,
    "s": 80.153,
    "l": 74.314
  },
  "oklch": {
    "l": 0.92382,
    "c": 0.13196,
    "h": 117.9
  },
  "luminance": 0.8084
}

Semantic roles & 50–950 ramp

primary
#DEF289
secondary
#6951CE
accent
#09DC31
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF289

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

Preview Lab → · Contrast checker → · Palette generator →

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