#DEFA7E#DEFA7E

#DEFA7E is a very light, vivid yellow-green. Relative luminance 0.854; OKLCH L 93.9% C 0.153 H 120.0°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#DEFA7E
RGBrgb(222, 250, 126)
HSLhsl(74, 93%, 74%)
HSVhsv(74, 50%, 98%)
CMYKcmyk(11.2%, 0%, 49.6%, 2%)
CIE-LABlab(94.06, -27.03, 55.91)
CIE-LCHlch(94.06, 62.10, 115.80°)
OKLaboklab(93.94% -0.0765 0.1327)
OKLCHoklch(93.94% 0.153 120)
XYZxyz(68.0762, 85.4074, 32.6336)
Luminance0.8541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFA7E #9A7EFA
analogous
#FAD87E #DEFA7E #A0FA7E
triadic
#DEFA7E #7EDEFA #FA7EDE
tetradic
#DEFA7E #7EFAD8 #9A7EFA #FA7EA0
square
#DEFA7E #7EFAD8 #9A7EFA #FA7EA0
split-complementary
#DEFA7E #7EA0FA #D87EFA
monochromatic
#BFF409 #CFF843 #DEFA7E #EDFCB9 #F7FEE2

Accessibility & contrast

On white

1.16
#DEFA7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.08
#DEFA7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFA7E
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFA7E#FFFFFF#000000##000000
##DEFA7E1.001.1618.0818.08
#FFFFFF1.161.0021.0021.00
#00000018.0821.001.001.00
##00000018.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE73
Deuteranopia (green-blind)
#FFEE85
Tritanopia (blue-blind)
#E8EFDE
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #defa7e;
/* rgb */ color: rgb(222, 250, 126);
/* oklch */ color: oklch(93.9% 0.153 120.0);
Tailwind
colors: {
  custom: {
    50: '#eafca6',
    500: '#defa7e',
    950: '#000000',
  },
}
SCSS
$custom: #defa7e;
$custom-light: #eafca6;
$custom-dark: #000000;
JSON
{
  "hex": "#defa7e",
  "rgb": {
    "r": 222,
    "g": 250,
    "b": 126
  },
  "hsl": {
    "h": 73.548,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.9394,
    "c": 0.15315,
    "h": 120
  },
  "luminance": 0.85407
}

Semantic roles & 50–950 ramp

primary
#DEFA7E
secondary
#6645D7
accent
#00E634
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#161710
muted
#858580

Preview Lab

Preview with #DEFA7E

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

Preview Lab → · Contrast checker → · Palette generator →

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