#DEF771#DEF771

#DEF771 is a very light, vivid yellow-green. Relative luminance 0.832; OKLCH L 93.1% C 0.161 H 118.5°. Best body text is #000000 at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#DEF771
RGBrgb(222, 247, 113)
HSLhsl(71, 89%, 71%)
HSVhsv(71, 54%, 97%)
CMYKcmyk(10.1%, 0%, 54.3%, 3.1%)
CIE-LABlab(93.12, -26.77, 60.67)
CIE-LCHlch(93.12, 66.31, 113.81°)
OKLaboklab(93.14% -0.0769 0.1419)
OKLCHoklch(93.14% 0.161 118.5)
XYZxyz(66.3665, 83.2438, 28.1910)
Luminance0.8324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF771 #8A71F7
analogous
#F7CD71 #DEF771 #9BF771
triadic
#DEF771 #71DEF7 #F771DE
tetradic
#DEF771 #71F7CD #8A71F7 #F7719B
square
#DEF771 #71F7CD #8A71F7 #F7719B
split-complementary
#DEF771 #719BF7 #CD71F7
monochromatic
#B9E10D #D1F437 #DEF771 #EBFAAB #F8FDE2

Accessibility & contrast

On white

1.19
#DEF771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.65
#DEF771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF771
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF771#FFFFFF#000000##000000
##DEF7711.001.1917.6517.65
#FFFFFF1.191.0021.0021.00
#00000017.6521.001.001.00
##00000017.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB64
Deuteranopia (green-blind)
#FFEC79
Tritanopia (blue-blind)
#E9EBD9
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #def771;
/* rgb */ color: rgb(222, 247, 113);
/* oklch */ color: oklch(93.1% 0.161 118.5);
Tailwind
colors: {
  custom: {
    50: '#ebf99e',
    500: '#def771',
    950: '#000000',
  },
}
SCSS
$custom: #def771;
$custom-light: #ebf99e;
$custom-dark: #000000;
JSON
{
  "hex": "#def771",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 113
  },
  "hsl": {
    "h": 71.194,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.93144,
    "c": 0.16136,
    "h": 118.5
  },
  "luminance": 0.83243
}

Semantic roles & 50–950 ramp

primary
#DEF771
secondary
#573AD2
accent
#00E62B
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF771

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

Preview Lab → · Contrast checker → · Palette generator →

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