#DEF281#DEF281

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

Color values

HEX#DEF281
RGBrgb(222, 242, 129)
HSLhsl(71, 81%, 73%)
HSVhsv(71, 47%, 95%)
CMYKcmyk(8.3%, 0%, 46.7%, 5.1%)
CIE-LABlab(91.96, -22.95, 51.99)
CIE-LCHlch(91.96, 56.83, 113.82°)
OKLaboklab(92.27% -0.0647 0.1243)
OKLCHoklch(92.27% 0.14 117.5)
XYZxyz(65.8394, 80.6194, 32.8573)
Luminance0.8062 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF281 #9581F2
analogous
#F2CD81 #DEF281 #A6F281
triadic
#DEF281 #81DEF2 #F281DE
tetradic
#DEF281 #81F2CD #9581F2 #F281A6
square
#DEF281 #81F2CD #9581F2 #F281A6
split-complementary
#DEF281 #81A6F2 #CD81F2
monochromatic
#BEE117 #CFEC4A #DEF281 #EDF8B8 #F8FCE3

Accessibility & contrast

On white

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

On black

17.12
#DEF281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF281
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF281#FFFFFF#000000##000000
##DEF2811.001.2317.1217.12
#FFFFFF1.231.0021.0021.00
#00000017.1221.001.001.00
##00000017.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def281;
/* rgb */ color: rgb(222, 242, 129);
/* oklch */ color: oklch(92.3% 0.140 117.5);
Tailwind
colors: {
  custom: {
    50: '#eaf6a8',
    500: '#def281',
    950: '#000000',
  },
}
SCSS
$custom: #def281;
$custom-light: #eaf6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#def281",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 129
  },
  "hsl": {
    "h": 70.619,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92271,
    "c": 0.14013,
    "h": 117.5
  },
  "luminance": 0.80619
}

Semantic roles & 50–950 ramp

primary
#DEF281
secondary
#614ACD
accent
#08DE2E
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF281

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

Preview Lab → · Contrast checker → · Palette generator →

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