#DEF397#DEF397

#DEF397 is a very light, moderate yellow-green. Relative luminance 0.819; OKLCH L 92.8% C 0.118 H 119.3°. Best body text is #000000 at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#DEF397
RGBrgb(222, 243, 151)
HSLhsl(74, 79%, 77%)
HSVhsv(74, 38%, 95%)
CMYKcmyk(8.6%, 0%, 37.9%, 4.7%)
CIE-LABlab(92.52, -21.07, 42.08)
CIE-LCHlch(92.52, 47.06, 116.60°)
OKLaboklab(92.81% -0.0578 0.1032)
OKLCHoklch(92.81% 0.118 119.3)
XYZxyz(67.7608, 81.8654, 41.5040)
Luminance0.8186 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF397 #AC97F3
analogous
#F3DA97 #DEF397 #B0F397
triadic
#DEF397 #97DEF3 #F397DE
tetradic
#DEF397 #97F3DA #AC97F3 #F397B0
square
#DEF397 #97F3DA #AC97F3 #F397B0
split-complementary
#DEF397 #97B0F3 #DA97F3
monochromatic
#BBE629 #CDED60 #DEF397 #EFF9CE #F6FCE4

Accessibility & contrast

On white

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

On black

17.37
#DEF397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF397
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF397#FFFFFF#000000##000000
##DEF3971.001.2117.3717.37
#FFFFFF1.211.0021.0021.00
#00000017.3721.001.001.00
##00000017.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEEA90
Deuteranopia (green-blind)
#FCEA9B
Tritanopia (blue-blind)
#E6EADC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #def397;
/* rgb */ color: rgb(222, 243, 151);
/* oklch */ color: oklch(92.8% 0.118 119.3);
Tailwind
colors: {
  custom: {
    50: '#e9f7b6',
    500: '#def397',
    950: '#000000',
  },
}
SCSS
$custom: #def397;
$custom-light: #e9f7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#def397",
  "rgb": {
    "r": 222,
    "g": 243,
    "b": 151
  },
  "hsl": {
    "h": 73.696,
    "s": 79.31,
    "l": 77.255
  },
  "oklch": {
    "l": 0.92808,
    "c": 0.11827,
    "h": 119.3
  },
  "luminance": 0.81865
}

Semantic roles & 50–950 ramp

primary
#DEF397
secondary
#785DD1
accent
#0ADC3A
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161711
muted
#848581

Preview Lab

Preview with #DEF397

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

Preview Lab → · Contrast checker → · Palette generator →

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