#DEF286#DEF286

#DEF286 is a very light, vivid yellow-green. Relative luminance 0.808; OKLCH L 92.3% C 0.135 H 117.7°. Best body text is #000000 at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#DEF286
RGBrgb(222, 242, 134)
HSLhsl(71, 81%, 74%)
HSVhsv(71, 45%, 95%)
CMYKcmyk(8.3%, 0%, 44.6%, 5.1%)
CIE-LABlab(92.02, -22.45, 49.70)
CIE-LCHlch(92.02, 54.54, 114.31°)
OKLaboklab(92.34% -0.0629 0.1195)
OKLCHoklch(92.34% 0.135 117.7)
XYZxyz(66.1799, 80.7556, 34.6506)
Luminance0.8075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF286 #9A86F2
analogous
#F2D086 #DEF286 #A8F286
triadic
#DEF286 #86DEF2 #F286DE
tetradic
#DEF286 #86F2D0 #9A86F2 #F286A8
square
#DEF286 #86F2D0 #9A86F2 #F286A8
split-complementary
#DEF286 #86A8F2 #D086F2
monochromatic
#BFE519 #CFEC4F #DEF286 #EDF8BD #F7FCE3

Accessibility & contrast

On white

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

On black

17.15
#DEF286 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF286
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF286#FFFFFF#000000##000000
##DEF2861.001.2217.1517.15
#FFFFFF1.221.0021.0021.00
#00000017.1521.001.001.00
##00000017.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE87D
Deuteranopia (green-blind)
#FDE98C
Tritanopia (blue-blind)
#E8E8D8
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #def286;
/* rgb */ color: rgb(222, 242, 134);
/* oklch */ color: oklch(92.3% 0.135 117.7);
Tailwind
colors: {
  custom: {
    50: '#eaf6ab',
    500: '#def286',
    950: '#000000',
  },
}
SCSS
$custom: #def286;
$custom-light: #eaf6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#def286",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 134
  },
  "hsl": {
    "h": 71.111,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.9234,
    "c": 0.13506,
    "h": 117.7
  },
  "luminance": 0.80755
}

Semantic roles & 50–950 ramp

primary
#DEF286
secondary
#664ECE
accent
#09DD30
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF286

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

Preview Lab → · Contrast checker → · Palette generator →

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