#DEFA70#DEFA70

#DEFA70 is a very light, vivid yellow-green. Relative luminance 0.851; OKLCH L 93.8% C 0.166 H 119.3°. Best body text is #000000 at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#DEFA70
RGBrgb(222, 250, 112)
HSLhsl(72, 93%, 71%)
HSVhsv(72, 55%, 98%)
CMYKcmyk(11.2%, 0%, 55.2%, 2%)
CIE-LABlab(93.91, -28.26, 62.01)
CIE-LCHlch(93.91, 68.15, 114.50°)
OKLaboklab(93.78% -0.0812 0.1447)
OKLCHoklch(93.78% 0.166 119.3)
XYZxyz(67.2353, 85.0710, 28.2044)
Luminance0.8507 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFA70 #8C70FA
analogous
#FAD170 #DEFA70 #99FA70
triadic
#DEFA70 #70DEFA #FA70DE
tetradic
#DEFA70 #70FAD1 #8C70FA #FA7099
square
#DEFA70 #70FAD1 #8C70FA #FA7099
split-complementary
#DEFA70 #7099FA #D170FA
monochromatic
#BAE808 #D0F835 #DEFA70 #ECFCAB #F8FEE1

Accessibility & contrast

On white

1.17
#DEFA70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.01
#DEFA70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFA70
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFA70#FFFFFF#000000##000000
##DEFA701.001.1718.0118.01
#FFFFFF1.171.0021.0021.00
#00000018.0121.001.001.00
##00000018.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE62
Deuteranopia (green-blind)
#FFEE78
Tritanopia (blue-blind)
#E9EEDC
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #defa70;
/* rgb */ color: rgb(222, 250, 112);
/* oklch */ color: oklch(93.8% 0.166 119.3);
Tailwind
colors: {
  custom: {
    50: '#ebfc9d',
    500: '#defa70',
    950: '#000000',
  },
}
SCSS
$custom: #defa70;
$custom-light: #ebfc9d;
$custom-dark: #000000;
JSON
{
  "hex": "#defa70",
  "rgb": {
    "r": 222,
    "g": 250,
    "b": 112
  },
  "hsl": {
    "h": 72.174,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.93777,
    "c": 0.16587,
    "h": 119.3
  },
  "luminance": 0.85071
}

Semantic roles & 50–950 ramp

primary
#DEFA70
secondary
#5939D5
accent
#00E62F
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEFA70

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

Preview Lab → · Contrast checker → · Palette generator →

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