#DEF282#DEF282

#DEF282 is a very light, vivid yellow-green. Relative luminance 0.806; OKLCH L 92.3% C 0.139 H 117.5°. Best body text is #000000 at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#DEF282
RGBrgb(222, 242, 130)
HSLhsl(71, 81%, 73%)
HSVhsv(71, 46%, 95%)
CMYKcmyk(8.3%, 0%, 46.3%, 5.1%)
CIE-LABlab(91.97, -22.85, 51.54)
CIE-LCHlch(91.97, 56.38, 113.91°)
OKLaboklab(92.29% -0.0643 0.1234)
OKLCHoklch(92.29% 0.139 117.5)
XYZxyz(65.9062, 80.6461, 33.2090)
Luminance0.8065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF282 #9682F2
analogous
#F2CE82 #DEF282 #A6F282
triadic
#DEF282 #82DEF2 #F282DE
tetradic
#DEF282 #82F2CE #9682F2 #F282A6
square
#DEF282 #82F2CE #9682F2 #F282A6
split-complementary
#DEF282 #82A6F2 #CE82F2
monochromatic
#BEE218 #CFEC4B #DEF282 #EDF8B9 #F8FCE3

Accessibility & contrast

On white

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

On black

17.13
#DEF282 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF282
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF282#FFFFFF#000000##000000
##DEF2821.001.2317.1317.13
#FFFFFF1.231.0021.0021.00
#00000017.1321.001.001.00
##00000017.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE878
Deuteranopia (green-blind)
#FDE988
Tritanopia (blue-blind)
#E8E7D8
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #def282;
/* rgb */ color: rgb(222, 242, 130);
/* oklch */ color: oklch(92.3% 0.139 117.5);
Tailwind
colors: {
  custom: {
    50: '#eaf6a8',
    500: '#def282',
    950: '#000000',
  },
}
SCSS
$custom: #def282;
$custom-light: #eaf6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#def282",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 130
  },
  "hsl": {
    "h": 70.714,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.92285,
    "c": 0.13913,
    "h": 117.5
  },
  "luminance": 0.80646
}

Semantic roles & 50–950 ramp

primary
#DEF282
secondary
#624BCD
accent
#08DE2E
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF282

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

Preview Lab → · Contrast checker → · Palette generator →

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