#DEF77C#DEF77C

#DEF77C is a very light, vivid yellow-green. Relative luminance 0.835; OKLCH L 93.3% C 0.151 H 118.9°. Best body text is #000000 at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#DEF77C
RGBrgb(222, 247, 124)
HSLhsl(72, 88%, 73%)
HSVhsv(72, 50%, 97%)
CMYKcmyk(10.1%, 0%, 49.8%, 3.1%)
CIE-LABlab(93.24, -25.80, 55.85)
CIE-LCHlch(93.24, 61.52, 114.80°)
OKLaboklab(93.27% -0.0732 0.1324)
OKLCHoklch(93.27% 0.151 118.9)
XYZxyz(67.0237, 83.5067, 31.6524)
Luminance0.8351 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF77C #957CF7
analogous
#F7D27C #DEF77C #A0F77C
triadic
#DEF77C #7CDEF7 #F77CDE
tetradic
#DEF77C #7CF7D2 #957CF7 #F77CA0
square
#DEF77C #7CF7D2 #957CF7 #F77CA0
split-complementary
#DEF77C #7CA0F7 #D27CF7
monochromatic
#BEEA0E #CFF342 #DEF77C #EDFBB6 #F8FDE2

Accessibility & contrast

On white

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

On black

17.70
#DEF77C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF77C
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF77C#FFFFFF#000000##000000
##DEF77C1.001.1917.7017.70
#FFFFFF1.191.0021.0021.00
#00000017.7021.001.001.00
##00000017.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC71
Deuteranopia (green-blind)
#FFEC83
Tritanopia (blue-blind)
#E8ECDB
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #def77c;
/* rgb */ color: rgb(222, 247, 124);
/* oklch */ color: oklch(93.3% 0.151 118.9);
Tailwind
colors: {
  custom: {
    50: '#eaf9a5',
    500: '#def77c',
    950: '#000000',
  },
}
SCSS
$custom: #def77c;
$custom-light: #eaf9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#def77c",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 124
  },
  "hsl": {
    "h": 72.195,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.93273,
    "c": 0.15127,
    "h": 118.9
  },
  "luminance": 0.83506
}

Semantic roles & 50–950 ramp

primary
#DEF77C
secondary
#6144D3
accent
#00E52F
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF77C

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

Preview Lab → · Contrast checker → · Palette generator →

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