#DEFB71#DEFB71

#DEFB71 is a very light, vivid yellow-green. Relative luminance 0.857; OKLCH L 94.0% C 0.166 H 119.6°. Best body text is #000000 at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#DEFB71
RGBrgb(222, 251, 113)
HSLhsl(73, 95%, 71%)
HSVhsv(73, 55%, 98%)
CMYKcmyk(11.6%, 0%, 55%, 1.6%)
CIE-LABlab(94.19, -28.64, 61.89)
CIE-LCHlch(94.19, 68.20, 114.83°)
OKLaboklab(94% -0.0822 0.1445)
OKLCHoklch(94% 0.166 119.6)
XYZxyz(67.6028, 85.7165, 28.6031)
Luminance0.8572 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFB71 #8E71FB
analogous
#FBD371 #DEFB71 #99FB71
triadic
#DEFB71 #71DEFB #FB71DE
tetradic
#DEFB71 #71FBD3 #8E71FB #FB7199
square
#DEFB71 #71FBD3 #8E71FB #FB7199
split-complementary
#DEFB71 #7199FB #D371FB
monochromatic
#BBEB07 #D0F935 #DEFB71 #ECFDAD #F8FEE1

Accessibility & contrast

On white

1.16
#DEFB71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.14
#DEFB71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFB71
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFB71#FFFFFF#000000##000000
##DEFB711.001.1618.1418.14
#FFFFFF1.161.0021.0021.00
#00000018.1421.001.001.00
##00000018.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE63
Deuteranopia (green-blind)
#FFEF79
Tritanopia (blue-blind)
#E9EFDD
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #defb71;
/* rgb */ color: rgb(222, 251, 113);
/* oklch */ color: oklch(94.0% 0.166 119.6);
Tailwind
colors: {
  custom: {
    50: '#ebfc9e',
    500: '#defb71',
    950: '#000000',
  },
}
SCSS
$custom: #defb71;
$custom-light: #ebfc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#defb71",
  "rgb": {
    "r": 222,
    "g": 251,
    "b": 113
  },
  "hsl": {
    "h": 72.609,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.94003,
    "c": 0.16622,
    "h": 119.6
  },
  "luminance": 0.85716
}

Semantic roles & 50–950 ramp

primary
#DEFB71
secondary
#5A39D7
accent
#00E630
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEFB71

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

Preview Lab → · Contrast checker → · Palette generator →

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