#DEF972#DEF972

#DEF972 is a very light, vivid yellow-green. Relative luminance 0.845; OKLCH L 93.6% C 0.163 H 119.1°. Best body text is #000000 at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#DEF972
RGBrgb(222, 249, 114)
HSLhsl(72, 92%, 71%)
HSVhsv(72, 54%, 98%)
CMYKcmyk(10.8%, 0%, 54.2%, 2.4%)
CIE-LABlab(93.67, -27.62, 60.85)
CIE-LCHlch(93.67, 66.83, 114.42°)
OKLaboklab(93.58% -0.0792 0.1424)
OKLCHoklch(93.58% 0.163 119.1)
XYZxyz(67.0379, 84.4962, 28.6941)
Luminance0.8450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF972 #8D72F9
analogous
#F9D072 #DEF972 #9AF972
triadic
#DEF972 #72DEF9 #F972DE
tetradic
#DEF972 #72F9D0 #8D72F9 #F9729A
square
#DEF972 #72F9D0 #8D72F9 #F9729A
split-complementary
#DEF972 #729AF9 #D072F9
monochromatic
#BBE70A #D0F737 #DEF972 #ECFBAD #F8FEE2

Accessibility & contrast

On white

1.17
#DEF972 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.90
#DEF972 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF972
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF972#FFFFFF#000000##000000
##DEF9721.001.1717.9017.90
#FFFFFF1.171.0021.0021.00
#00000017.9021.001.001.00
##00000017.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED64
Deuteranopia (green-blind)
#FFED7A
Tritanopia (blue-blind)
#E9EDDB
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #def972;
/* rgb */ color: rgb(222, 249, 114);
/* oklch */ color: oklch(93.6% 0.163 119.1);
Tailwind
colors: {
  custom: {
    50: '#ebfb9e',
    500: '#def972',
    950: '#000000',
  },
}
SCSS
$custom: #def972;
$custom-light: #ebfb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#def972",
  "rgb": {
    "r": 222,
    "g": 249,
    "b": 114
  },
  "hsl": {
    "h": 72,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.93584,
    "c": 0.1629,
    "h": 119.1
  },
  "luminance": 0.84496
}

Semantic roles & 50–950 ramp

primary
#DEF972
secondary
#5A3BD4
accent
#00E62E
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF972

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

Preview Lab → · Contrast checker → · Palette generator →

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