#DEF47D#DEF47D

#DEF47D is a very light, vivid yellow-green. Relative luminance 0.817; OKLCH L 92.6% C 0.147 H 118.0°. Best body text is #000000 at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#DEF47D
RGBrgb(222, 244, 125)
HSLhsl(71, 84%, 72%)
HSVhsv(71, 49%, 96%)
CMYKcmyk(9%, 0%, 48.8%, 4.3%)
CIE-LABlab(92.45, -24.29, 54.45)
CIE-LCHlch(92.45, 59.62, 114.04°)
OKLaboklab(92.65% -0.0688 0.1294)
OKLCHoklch(92.65% 0.147 118)
XYZxyz(66.1772, 81.7121, 31.6838)
Luminance0.8171 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF47D #937DF4
analogous
#F4CE7D #DEF47D #A3F47D
triadic
#DEF47D #7DDEF4 #F47DDE
tetradic
#DEF47D #7DF4CE #937DF4 #F47DA3
square
#DEF47D #7DF4CE #937DF4 #F47DA3
split-complementary
#DEF47D #7DA3F4 #CE7DF4
monochromatic
#BDE313 #D0EF45 #DEF47D #ECF9B5 #F8FDE3

Accessibility & contrast

On white

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

On black

17.34
#DEF47D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF47D
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF47D#FFFFFF#000000##000000
##DEF47D1.001.2117.3417.34
#FFFFFF1.211.0021.0021.00
#00000017.3421.001.001.00
##00000017.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE972
Deuteranopia (green-blind)
#FFEA84
Tritanopia (blue-blind)
#E9E9D9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #def47d;
/* rgb */ color: rgb(222, 244, 125);
/* oklch */ color: oklch(92.6% 0.147 118.0);
Tailwind
colors: {
  custom: {
    50: '#eaf7a5',
    500: '#def47d',
    950: '#000000',
  },
}
SCSS
$custom: #def47d;
$custom-light: #eaf7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#def47d",
  "rgb": {
    "r": 222,
    "g": 244,
    "b": 125
  },
  "hsl": {
    "h": 71.092,
    "s": 84.397,
    "l": 72.353
  },
  "oklch": {
    "l": 0.92645,
    "c": 0.14656,
    "h": 118
  },
  "luminance": 0.81712
}

Semantic roles & 50–950 ramp

primary
#DEF47D
secondary
#5F46CF
accent
#05E12D
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF47D

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

Preview Lab → · Contrast checker → · Palette generator →

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