#DEF474#DEF474

#DEF474 is a very light, vivid yellow-green. Relative luminance 0.815; OKLCH L 92.5% C 0.155 H 117.6°. Best body text is #000000 at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#DEF474
RGBrgb(222, 244, 116)
HSLhsl(70, 85%, 71%)
HSVhsv(70, 52%, 96%)
CMYKcmyk(9%, 0%, 52.5%, 4.3%)
CIE-LABlab(92.35, -25.10, 58.44)
CIE-LCHlch(92.35, 63.60, 113.24°)
OKLaboklab(92.54% -0.0719 0.1373)
OKLCHoklch(92.54% 0.155 117.6)
XYZxyz(65.6281, 81.4925, 28.7919)
Luminance0.8149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF474 #8A74F4
analogous
#F4CA74 #DEF474 #9EF474
triadic
#DEF474 #74DEF4 #F474DE
tetradic
#DEF474 #74F4CA #8A74F4 #F4749E
square
#DEF474 #74F4CA #8A74F4 #F4749E
split-complementary
#DEF474 #749EF4 #CA74F4
monochromatic
#B9DC11 #D1F03B #DEF474 #EBF8AD #F8FDE3

Accessibility & contrast

On white

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

On black

17.30
#DEF474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF474
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF474#FFFFFF#000000##000000
##DEF4741.001.2117.3017.30
#FFFFFF1.211.0021.0021.00
#00000017.3021.001.001.00
##00000017.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE968
Deuteranopia (green-blind)
#FFEA7B
Tritanopia (blue-blind)
#E9E8D7
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #def474;
/* rgb */ color: rgb(222, 244, 116);
/* oklch */ color: oklch(92.5% 0.155 117.6);
Tailwind
colors: {
  custom: {
    50: '#eaf79f',
    500: '#def474',
    950: '#000000',
  },
}
SCSS
$custom: #def474;
$custom-light: #eaf79f;
$custom-dark: #000000;
JSON
{
  "hex": "#def474",
  "rgb": {
    "r": 222,
    "g": 244,
    "b": 116
  },
  "hsl": {
    "h": 70.313,
    "s": 85.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92536,
    "c": 0.15503,
    "h": 117.6
  },
  "luminance": 0.81492
}

Semantic roles & 50–950 ramp

primary
#DEF474
secondary
#573ECE
accent
#04E22A
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF474

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

Preview Lab → · Contrast checker → · Palette generator →

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