#DEF470#DEF470

#DEF470 is a very light, vivid yellow-green. Relative luminance 0.814; OKLCH L 92.5% C 0.159 H 117.5°. Best body text is #000000 at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#DEF470
RGBrgb(222, 244, 112)
HSLhsl(70, 86%, 70%)
HSVhsv(70, 54%, 96%)
CMYKcmyk(9%, 0%, 54.1%, 4.3%)
CIE-LABlab(92.31, -25.43, 60.18)
CIE-LCHlch(92.31, 65.33, 112.91°)
OKLaboklab(92.49% -0.0732 0.1407)
OKLCHoklch(92.49% 0.159 117.5)
XYZxyz(65.4005, 81.4014, 27.5928)
Luminance0.8140 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF470 #8670F4
analogous
#F4C870 #DEF470 #9CF470
triadic
#DEF470 #70DEF4 #F470DE
tetradic
#DEF470 #70F4C8 #8670F4 #F4709C
square
#DEF470 #70F4C8 #8670F4 #F4709C
split-complementary
#DEF470 #709CF4 #C870F4
monochromatic
#B8D911 #D1F037 #DEF470 #EBF8A9 #F8FDE2

Accessibility & contrast

On white

1.22
#DEF470 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.28
#DEF470 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF470
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF470#FFFFFF#000000##000000
##DEF4701.001.2217.2817.28
#FFFFFF1.221.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def470;
/* rgb */ color: rgb(222, 244, 112);
/* oklch */ color: oklch(92.5% 0.159 117.5);
Tailwind
colors: {
  custom: {
    50: '#ebf79d',
    500: '#def470',
    950: '#000000',
  },
}
SCSS
$custom: #def470;
$custom-light: #ebf79d;
$custom-dark: #000000;
JSON
{
  "hex": "#def470",
  "rgb": {
    "r": 222,
    "g": 244,
    "b": 112
  },
  "hsl": {
    "h": 70,
    "s": 85.714,
    "l": 69.804
  },
  "oklch": {
    "l": 0.9249,
    "c": 0.15862,
    "h": 117.5
  },
  "luminance": 0.81401
}

Semantic roles & 50–950 ramp

primary
#DEF470
secondary
#533ACE
accent
#03E228
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF470

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

Preview Lab → · Contrast checker → · Palette generator →

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