#DEFA7D#DEFA7D

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

Color values

HEX#DEFA7D
RGBrgb(222, 250, 125)
HSLhsl(73, 93%, 74%)
HSVhsv(73, 50%, 98%)
CMYKcmyk(11.2%, 0%, 50%, 2%)
CIE-LABlab(94.05, -27.12, 56.36)
CIE-LCHlch(94.05, 62.54, 115.70°)
OKLaboklab(93.93% -0.0768 0.1336)
OKLCHoklch(93.93% 0.154 119.9)
XYZxyz(68.0120, 85.3817, 32.2954)
Luminance0.8538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFA7D #997DFA
analogous
#FAD77D #DEFA7D #9FFA7D
triadic
#DEFA7D #7DDEFA #FA7DDE
tetradic
#DEFA7D #7DFAD7 #997DFA #FA7D9F
square
#DEFA7D #7DFAD7 #997DFA #FA7D9F
split-complementary
#DEFA7D #7D9FFA #D77DFA
monochromatic
#BFF309 #CFF842 #DEFA7D #EDFCB8 #F8FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEFA7D#FFFFFF#000000##000000
##DEFA7D1.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)
#FFEE72
Deuteranopia (green-blind)
#FFEE84
Tritanopia (blue-blind)
#E8EFDD
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #defa7d;
/* rgb */ color: rgb(222, 250, 125);
/* oklch */ color: oklch(93.9% 0.154 119.9);
Tailwind
colors: {
  custom: {
    50: '#eafca5',
    500: '#defa7d',
    950: '#000000',
  },
}
SCSS
$custom: #defa7d;
$custom-light: #eafca5;
$custom-dark: #000000;
JSON
{
  "hex": "#defa7d",
  "rgb": {
    "r": 222,
    "g": 250,
    "b": 125
  },
  "hsl": {
    "h": 73.44,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.93927,
    "c": 0.15409,
    "h": 119.9
  },
  "luminance": 0.85381
}

Semantic roles & 50–950 ramp

primary
#DEFA7D
secondary
#6544D7
accent
#00E633
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEFA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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