#DEF48B#DEF48B

#DEF48B is a very light, vivid yellow-green. Relative luminance 0.821; OKLCH L 92.8% C 0.132 H 118.8°. Best body text is #000000 at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#DEF48B
RGBrgb(222, 244, 139)
HSLhsl(73, 83%, 75%)
HSVhsv(73, 43%, 96%)
CMYKcmyk(9%, 0%, 43%, 4.3%)
CIE-LABlab(92.62, -22.89, 48.05)
CIE-LCHlch(92.62, 53.22, 115.47°)
OKLaboklab(92.84% -0.0637 0.1161)
OKLCHoklch(92.84% 0.132 118.8)
XYZxyz(67.1354, 82.0954, 36.7303)
Luminance0.8209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF48B #A18BF4
analogous
#F4D58B #DEF48B #AAF48B
triadic
#DEF48B #8BDEF4 #F48BDE
tetradic
#DEF48B #8BF4D5 #A18BF4 #F48BAA
square
#DEF48B #8BF4D5 #A18BF4 #F48BAA
split-complementary
#DEF48B #8BAAF4 #D58BF4
monochromatic
#BEE91B #CEEF53 #DEF48B #EEF9C3 #F7FCE3

Accessibility & contrast

On white

1.21
#DEF48B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.42
#DEF48B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF48B
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF48B#FFFFFF#000000##000000
##DEF48B1.001.2117.4217.42
#FFFFFF1.211.0021.0021.00
#00000017.4221.001.001.00
##00000017.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def48b;
/* rgb */ color: rgb(222, 244, 139);
/* oklch */ color: oklch(92.8% 0.132 118.8);
Tailwind
colors: {
  custom: {
    50: '#eaf7ae',
    500: '#def48b',
    950: '#000000',
  },
}
SCSS
$custom: #def48b;
$custom-light: #eaf7ae;
$custom-dark: #000000;
JSON
{
  "hex": "#def48b",
  "rgb": {
    "r": 222,
    "g": 244,
    "b": 139
  },
  "hsl": {
    "h": 72.571,
    "s": 82.677,
    "l": 75.098
  },
  "oklch": {
    "l": 0.92836,
    "c": 0.13248,
    "h": 118.8
  },
  "luminance": 0.82095
}

Semantic roles & 50–950 ramp

primary
#DEF48B
secondary
#6D52D1
accent
#06DF34
background
#FEFFFD
surface
#FDFEF7
border
#D5D6D0
text
#161710
muted
#848581

Preview Lab

Preview with #DEF48B

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

Preview Lab → · Contrast checker → · Palette generator →

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