#DEF671#DEF671

#DEF671 is a very light, vivid yellow-green. Relative luminance 0.826; OKLCH L 92.9% C 0.160 H 118.2°. Best body text is #000000 at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#DEF671
RGBrgb(222, 246, 113)
HSLhsl(71, 88%, 70%)
HSVhsv(71, 54%, 96%)
CMYKcmyk(9.8%, 0%, 54.1%, 3.5%)
CIE-LABlab(92.85, -26.30, 60.36)
CIE-LCHlch(92.85, 65.84, 113.54°)
OKLaboklab(92.93% -0.0756 0.1412)
OKLCHoklch(92.93% 0.16 118.2)
XYZxyz(66.0615, 82.6339, 28.0894)
Luminance0.8263 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF671 #8971F6
analogous
#F6CB71 #DEF671 #9BF671
triadic
#DEF671 #71DEF6 #F671DE
tetradic
#DEF671 #71F6CB #8971F6 #F6719B
square
#DEF671 #71F6CB #8971F6 #F6719B
split-complementary
#DEF671 #719BF6 #CB71F6
monochromatic
#B9DE0E #D1F237 #DEF671 #EBFAAB #F8FDE2

Accessibility & contrast

On white

1.20
#DEF671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.53
#DEF671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF671
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF671#FFFFFF#000000##000000
##DEF6711.001.2017.5317.53
#FFFFFF1.201.0021.0021.00
#00000017.5321.001.001.00
##00000017.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA64
Deuteranopia (green-blind)
#FFEB79
Tritanopia (blue-blind)
#E9EAD9
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #def671;
/* rgb */ color: rgb(222, 246, 113);
/* oklch */ color: oklch(92.9% 0.160 118.2);
Tailwind
colors: {
  custom: {
    50: '#ebf99e',
    500: '#def671',
    950: '#000000',
  },
}
SCSS
$custom: #def671;
$custom-light: #ebf99e;
$custom-dark: #000000;
JSON
{
  "hex": "#def671",
  "rgb": {
    "r": 222,
    "g": 246,
    "b": 113
  },
  "hsl": {
    "h": 70.827,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.9293,
    "c": 0.16015,
    "h": 118.2
  },
  "luminance": 0.82633
}

Semantic roles & 50–950 ramp

primary
#DEF671
secondary
#563BD0
accent
#01E52A
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF671

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

Preview Lab → · Contrast checker → · Palette generator →

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