#DEF472#DEF472

#DEF472 is a very light, vivid yellow-green. Relative luminance 0.814; OKLCH L 92.5% C 0.157 H 117.6°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#DEF472
RGBrgb(222, 244, 114)
HSLhsl(70, 86%, 70%)
HSVhsv(70, 53%, 96%)
CMYKcmyk(9%, 0%, 53.3%, 4.3%)
CIE-LABlab(92.33, -25.27, 59.31)
CIE-LCHlch(92.33, 64.47, 113.07°)
OKLaboklab(92.51% -0.0726 0.139)
OKLCHoklch(92.51% 0.157 117.6)
XYZxyz(65.5131, 81.4464, 28.1858)
Luminance0.8145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF472 #8872F4
analogous
#F4C972 #DEF472 #9DF472
triadic
#DEF472 #72DEF4 #F472DE
tetradic
#DEF472 #72F4C9 #8872F4 #F4729D
square
#DEF472 #72F4C9 #8872F4 #F4729D
split-complementary
#DEF472 #729DF4 #C972F4
monochromatic
#B8DB11 #D1F039 #DEF472 #EBF8AB #F8FDE3

Accessibility & contrast

On white

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

On black

17.29
#DEF472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF472
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF472#FFFFFF#000000##000000
##DEF4721.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE965
Deuteranopia (green-blind)
#FFEA7A
Tritanopia (blue-blind)
#E9E8D7
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #def472;
/* rgb */ color: rgb(222, 244, 114);
/* oklch */ color: oklch(92.5% 0.157 117.6);
Tailwind
colors: {
  custom: {
    50: '#eaf79e',
    500: '#def472',
    950: '#000000',
  },
}
SCSS
$custom: #def472;
$custom-light: #eaf79e;
$custom-dark: #000000;
JSON
{
  "hex": "#def472",
  "rgb": {
    "r": 222,
    "g": 244,
    "b": 114
  },
  "hsl": {
    "h": 70.154,
    "s": 85.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.92513,
    "c": 0.15683,
    "h": 117.6
  },
  "luminance": 0.81446
}

Semantic roles & 50–950 ramp

primary
#DEF472
secondary
#553CCE
accent
#03E229
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF472

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

Preview Lab → · Contrast checker → · Palette generator →

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