#DEF48D#DEF48D

#DEF48D is a very light, vivid yellow-green. Relative luminance 0.822; OKLCH L 92.9% C 0.130 H 118.9°. Best body text is #000000 at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#DEF48D
RGBrgb(222, 244, 141)
HSLhsl(73, 82%, 75%)
HSVhsv(73, 42%, 96%)
CMYKcmyk(9%, 0%, 42.2%, 4.3%)
CIE-LABlab(92.64, -22.67, 47.12)
CIE-LCHlch(92.64, 52.29, 115.70°)
OKLaboklab(92.87% -0.063 0.1142)
OKLCHoklch(92.87% 0.13 118.9)
XYZxyz(67.2829, 82.1544, 37.5070)
Luminance0.8215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF48D #A38DF4
analogous
#F4D78D #DEF48D #AAF48D
triadic
#DEF48D #8DDEF4 #F48DDE
tetradic
#DEF48D #8DF4D7 #A38DF4 #F48DAA
square
#DEF48D #8DF4D7 #A38DF4 #F48DAA
split-complementary
#DEF48D #8DAAF4 #D78DF4
monochromatic
#BEE91D #CEEF55 #DEF48D #EEF9C5 #F7FCE3

Accessibility & contrast

On white

1.20
#DEF48D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.43
#DEF48D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF48D
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF48D#FFFFFF#000000##000000
##DEF48D1.001.2017.4317.43
#FFFFFF1.201.0021.0021.00
#00000017.4321.001.001.00
##00000017.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA85
Deuteranopia (green-blind)
#FDEA92
Tritanopia (blue-blind)
#E7EADB
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #def48d;
/* rgb */ color: rgb(222, 244, 141);
/* oklch */ color: oklch(92.9% 0.130 118.9);
Tailwind
colors: {
  custom: {
    50: '#eaf7b0',
    500: '#def48d',
    950: '#000000',
  },
}
SCSS
$custom: #def48d;
$custom-light: #eaf7b0;
$custom-dark: #000000;
JSON
{
  "hex": "#def48d",
  "rgb": {
    "r": 222,
    "g": 244,
    "b": 141
  },
  "hsl": {
    "h": 72.816,
    "s": 82.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.92865,
    "c": 0.13038,
    "h": 118.9
  },
  "luminance": 0.82154
}

Semantic roles & 50–950 ramp

primary
#DEF48D
secondary
#6F54D1
accent
#07DF35
background
#FEFFFD
surface
#FDFEF7
border
#D5D6D0
text
#161711
muted
#848581

Preview Lab

Preview with #DEF48D

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

Preview Lab → · Contrast checker → · Palette generator →

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