#DEF47E#DEF47E

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

Color values

HEX#DEF47E
RGBrgb(222, 244, 126)
HSLhsl(71, 84%, 73%)
HSVhsv(71, 48%, 96%)
CMYKcmyk(9%, 0%, 48.4%, 4.3%)
CIE-LABlab(92.46, -24.19, 54.00)
CIE-LCHlch(92.46, 59.17, 114.13°)
OKLaboklab(92.66% -0.0685 0.1285)
OKLCHoklch(92.66% 0.146 118)
XYZxyz(66.2414, 81.7378, 32.0220)
Luminance0.8174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF47E #947EF4
analogous
#F4CF7E #DEF47E #A3F47E
triadic
#DEF47E #7EDEF4 #F47EDE
tetradic
#DEF47E #7EF4CF #947EF4 #F47EA3
square
#DEF47E #7EF4CF #947EF4 #F47EA3
split-complementary
#DEF47E #7EA3F4 #CF7EF4
monochromatic
#BDE413 #D0EF46 #DEF47E #ECF9B6 #F8FDE3

Accessibility & contrast

On white

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

On black

17.35
#DEF47E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF47E
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF47E#FFFFFF#000000##000000
##DEF47E1.001.2117.3517.35
#FFFFFF1.211.0021.0021.00
#00000017.3521.001.001.00
##00000017.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def47e;
/* rgb */ color: rgb(222, 244, 126);
/* oklch */ color: oklch(92.7% 0.146 118.0);
Tailwind
colors: {
  custom: {
    50: '#eaf7a6',
    500: '#def47e',
    950: '#000000',
  },
}
SCSS
$custom: #def47e;
$custom-light: #eaf7a6;
$custom-dark: #000000;
JSON
{
  "hex": "#def47e",
  "rgb": {
    "r": 222,
    "g": 244,
    "b": 126
  },
  "hsl": {
    "h": 71.186,
    "s": 84.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.92658,
    "c": 0.14559,
    "h": 118
  },
  "luminance": 0.81737
}

Semantic roles & 50–950 ramp

primary
#DEF47E
secondary
#6047CF
accent
#05E12E
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF47E

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

Preview Lab → · Contrast checker → · Palette generator →

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