#DEF47A#DEF47A

#DEF47A is a very light, vivid yellow-green. Relative luminance 0.816; OKLCH L 92.6% C 0.149 H 117.9°. Best body text is #000000 at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#DEF47A
RGBrgb(222, 244, 122)
HSLhsl(71, 85%, 72%)
HSVhsv(71, 50%, 96%)
CMYKcmyk(9%, 0%, 50%, 4.3%)
CIE-LABlab(92.41, -24.56, 55.79)
CIE-LCHlch(92.41, 60.96, 113.76°)
OKLaboklab(92.61% -0.0699 0.1321)
OKLCHoklch(92.61% 0.149 117.9)
XYZxyz(65.9885, 81.6366, 30.6897)
Luminance0.8164 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF47A #907AF4
analogous
#F4CD7A #DEF47A #A1F47A
triadic
#DEF47A #7ADEF4 #F47ADE
tetradic
#DEF47A #7AF4CD #907AF4 #F47AA1
square
#DEF47A #7AF4CD #907AF4 #F47AA1
split-complementary
#DEF47A #7AA1F4 #CD7AF4
monochromatic
#BCE113 #D0EF41 #DEF47A #ECF9B3 #F8FDE3

Accessibility & contrast

On white

1.21
#DEF47A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.33
#DEF47A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF47A
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF47A#FFFFFF#000000##000000
##DEF47A1.001.2117.3317.33
#FFFFFF1.211.0021.0021.00
#00000017.3321.001.001.00
##00000017.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96F
Deuteranopia (green-blind)
#FFEA81
Tritanopia (blue-blind)
#E9E9D8
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #def47a;
/* rgb */ color: rgb(222, 244, 122);
/* oklch */ color: oklch(92.6% 0.149 117.9);
Tailwind
colors: {
  custom: {
    50: '#eaf7a3',
    500: '#def47a',
    950: '#000000',
  },
}
SCSS
$custom: #def47a;
$custom-light: #eaf7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#def47a",
  "rgb": {
    "r": 222,
    "g": 244,
    "b": 122
  },
  "hsl": {
    "h": 70.82,
    "s": 84.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.92608,
    "c": 0.14944,
    "h": 117.9
  },
  "luminance": 0.81636
}

Semantic roles & 50–950 ramp

primary
#DEF47A
secondary
#5C43CF
accent
#04E12C
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF47A

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

Preview Lab → · Contrast checker → · Palette generator →

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