#DEF284#DEF284

#DEF284 is a very light, vivid yellow-green. Relative luminance 0.807; OKLCH L 92.3% C 0.137 H 117.6°. Best body text is #000000 at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#DEF284
RGBrgb(222, 242, 132)
HSLhsl(71, 81%, 73%)
HSVhsv(71, 45%, 95%)
CMYKcmyk(8.3%, 0%, 45.5%, 5.1%)
CIE-LABlab(92.00, -22.65, 50.62)
CIE-LCHlch(92.00, 55.46, 114.11°)
OKLaboklab(92.31% -0.0636 0.1215)
OKLCHoklch(92.31% 0.137 117.6)
XYZxyz(66.0417, 80.7003, 33.9229)
Luminance0.8070 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF284 #9884F2
analogous
#F2CF84 #DEF284 #A7F284
triadic
#DEF284 #84DEF2 #F284DE
tetradic
#DEF284 #84F2CF #9884F2 #F284A7
square
#DEF284 #84F2CF #9884F2 #F284A7
split-complementary
#DEF284 #84A7F2 #CF84F2
monochromatic
#BFE418 #CFEC4D #DEF284 #EDF8BB #F8FCE3

Accessibility & contrast

On white

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

On black

17.14
#DEF284 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF284
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF284#FFFFFF#000000##000000
##DEF2841.001.2317.1417.14
#FFFFFF1.231.0021.0021.00
#00000017.1421.001.001.00
##00000017.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def284;
/* rgb */ color: rgb(222, 242, 132);
/* oklch */ color: oklch(92.3% 0.137 117.6);
Tailwind
colors: {
  custom: {
    50: '#eaf6aa',
    500: '#def284',
    950: '#000000',
  },
}
SCSS
$custom: #def284;
$custom-light: #eaf6aa;
$custom-dark: #000000;
JSON
{
  "hex": "#def284",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 132
  },
  "hsl": {
    "h": 70.909,
    "s": 80.882,
    "l": 73.333
  },
  "oklch": {
    "l": 0.92312,
    "c": 0.1371,
    "h": 117.6
  },
  "luminance": 0.807
}

Semantic roles & 50–950 ramp

primary
#DEF284
secondary
#644DCE
accent
#08DD2F
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF284

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

Preview Lab → · Contrast checker → · Palette generator →

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