#DEF280#DEF280

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

Color values

HEX#DEF280
RGBrgb(222, 242, 128)
HSLhsl(71, 81%, 73%)
HSVhsv(71, 47%, 95%)
CMYKcmyk(8.3%, 0%, 47.1%, 5.1%)
CIE-LABlab(91.95, -23.05, 52.45)
CIE-LCHlch(91.95, 57.29, 113.72°)
OKLaboklab(92.26% -0.065 0.1252)
OKLCHoklch(92.26% 0.141 117.4)
XYZxyz(65.7733, 80.5929, 32.5089)
Luminance0.8059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF280 #9480F2
analogous
#F2CD80 #DEF280 #A5F280
triadic
#DEF280 #80DEF2 #F280DE
tetradic
#DEF280 #80F2CD #9480F2 #F280A5
square
#DEF280 #80F2CD #9480F2 #F280A5
split-complementary
#DEF280 #80A5F2 #CD80F2
monochromatic
#BDE117 #D0EC48 #DEF280 #ECF8B8 #F8FCE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEF280#FFFFFF#000000##000000
##DEF2801.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)
#FFE876
Deuteranopia (green-blind)
#FDE986
Tritanopia (blue-blind)
#E8E7D7
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #def280;
/* rgb */ color: rgb(222, 242, 128);
/* oklch */ color: oklch(92.3% 0.141 117.4);
Tailwind
colors: {
  custom: {
    50: '#eaf6a7',
    500: '#def280',
    950: '#000000',
  },
}
SCSS
$custom: #def280;
$custom-light: #eaf6a7;
$custom-dark: #000000;
JSON
{
  "hex": "#def280",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 128
  },
  "hsl": {
    "h": 70.526,
    "s": 81.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.92258,
    "c": 0.14112,
    "h": 117.4
  },
  "luminance": 0.80592
}

Semantic roles & 50–950 ramp

primary
#DEF280
secondary
#6049CD
accent
#08DE2D
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#161710
muted
#858580

Preview Lab

Preview with #DEF280

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

Preview Lab → · Contrast checker → · Palette generator →

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