#DEF475#DEF475

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

Color values

HEX#DEF475
RGBrgb(222, 244, 117)
HSLhsl(70, 85%, 71%)
HSVhsv(70, 52%, 96%)
CMYKcmyk(9%, 0%, 52%, 4.3%)
CIE-LABlab(92.36, -25.01, 58.00)
CIE-LCHlch(92.36, 63.16, 113.33°)
OKLaboklab(92.55% -0.0716 0.1365)
OKLCHoklch(92.55% 0.154 117.7)
XYZxyz(65.6866, 81.5159, 29.0999)
Luminance0.8152 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF475 #8B75F4
analogous
#F4CB75 #DEF475 #9EF475
triadic
#DEF475 #75DEF4 #F475DE
tetradic
#DEF475 #75F4CB #8B75F4 #F4759E
square
#DEF475 #75F4CB #8B75F4 #F4759E
split-complementary
#DEF475 #759EF4 #CB75F4
monochromatic
#BADD12 #D0EF3C #DEF475 #ECF9AE #F8FDE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEF475#FFFFFF#000000##000000
##DEF4751.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)
#FFE969
Deuteranopia (green-blind)
#FFEA7C
Tritanopia (blue-blind)
#E9E9D7
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #def475;
/* rgb */ color: rgb(222, 244, 117);
/* oklch */ color: oklch(92.5% 0.154 117.7);
Tailwind
colors: {
  custom: {
    50: '#eaf7a0',
    500: '#def475',
    950: '#000000',
  },
}
SCSS
$custom: #def475;
$custom-light: #eaf7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#def475",
  "rgb": {
    "r": 222,
    "g": 244,
    "b": 117
  },
  "hsl": {
    "h": 70.394,
    "s": 85.235,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92547,
    "c": 0.15411,
    "h": 117.7
  },
  "luminance": 0.81515
}

Semantic roles & 50–950 ramp

primary
#DEF475
secondary
#583FCE
accent
#04E22A
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF475

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

Preview Lab → · Contrast checker → · Palette generator →

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