#DEF477#DEF477

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

Color values

HEX#DEF477
RGBrgb(222, 244, 119)
HSLhsl(71, 85%, 71%)
HSVhsv(71, 51%, 96%)
CMYKcmyk(9%, 0%, 51.2%, 4.3%)
CIE-LABlab(92.38, -24.83, 57.12)
CIE-LCHlch(92.38, 62.29, 113.50°)
OKLaboklab(92.57% -0.0709 0.1347)
OKLCHoklch(92.57% 0.152 117.7)
XYZxyz(65.8055, 81.5634, 29.7258)
Luminance0.8156 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF477 #8D77F4
analogous
#F4CB77 #DEF477 #9FF477
triadic
#DEF477 #77DEF4 #F477DE
tetradic
#DEF477 #77F4CB #8D77F4 #F4779F
square
#DEF477 #77F4CB #8D77F4 #F4779F
split-complementary
#DEF477 #779FF4 #CB77F4
monochromatic
#BBDF12 #D0EF3E #DEF477 #ECF9B0 #F8FDE3

Accessibility & contrast

On white

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

On black

17.31
#DEF477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF477
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF477#FFFFFF#000000##000000
##DEF4771.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def477;
/* rgb */ color: rgb(222, 244, 119);
/* oklch */ color: oklch(92.6% 0.152 117.7);
Tailwind
colors: {
  custom: {
    50: '#eaf7a1',
    500: '#def477',
    950: '#000000',
  },
}
SCSS
$custom: #def477;
$custom-light: #eaf7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#def477",
  "rgb": {
    "r": 222,
    "g": 244,
    "b": 119
  },
  "hsl": {
    "h": 70.56,
    "s": 85.034,
    "l": 71.176
  },
  "oklch": {
    "l": 0.92571,
    "c": 0.15225,
    "h": 117.7
  },
  "luminance": 0.81563
}

Semantic roles & 50–950 ramp

primary
#DEF477
secondary
#5A41CF
accent
#04E22B
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF477

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

Preview Lab → · Contrast checker → · Palette generator →

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