#DEF970#DEF970

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

Color values

HEX#DEF970
RGBrgb(222, 249, 112)
HSLhsl(72, 92%, 71%)
HSVhsv(72, 55%, 98%)
CMYKcmyk(10.8%, 0%, 55%, 2.4%)
CIE-LABlab(93.65, -27.79, 61.71)
CIE-LCHlch(93.65, 67.68, 114.24°)
OKLaboklab(93.56% -0.0799 0.144)
OKLCHoklch(93.56% 0.165 119)
XYZxyz(66.9254, 84.4512, 28.1011)
Luminance0.8445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF970 #8B70F9
analogous
#F9CF70 #DEF970 #99F970
triadic
#DEF970 #70DEF9 #F970DE
tetradic
#DEF970 #70F9CF #8B70F9 #F97099
square
#DEF970 #70F9CF #8B70F9 #F97099
split-complementary
#DEF970 #7099F9 #CF70F9
monochromatic
#BAE50A #D0F735 #DEF970 #ECFBAB #F8FEE2

Accessibility & contrast

On white

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

On black

17.89
#DEF970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF970
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF970#FFFFFF#000000##000000
##DEF9701.001.1717.8917.89
#FFFFFF1.171.0021.0021.00
#00000017.8921.001.001.00
##00000017.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def970;
/* rgb */ color: rgb(222, 249, 112);
/* oklch */ color: oklch(93.6% 0.165 119.0);
Tailwind
colors: {
  custom: {
    50: '#ebfb9d',
    500: '#def970',
    950: '#000000',
  },
}
SCSS
$custom: #def970;
$custom-light: #ebfb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#def970",
  "rgb": {
    "r": 222,
    "g": 249,
    "b": 112
  },
  "hsl": {
    "h": 71.825,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.93562,
    "c": 0.16466,
    "h": 119
  },
  "luminance": 0.84451
}

Semantic roles & 50–950 ramp

primary
#DEF970
secondary
#5839D4
accent
#00E62D
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF970

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

Preview Lab → · Contrast checker → · Palette generator →

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