#DEF795#DEF795

#DEF795 is a very light, vivid yellow-green. Relative luminance 0.842; OKLCH L 93.6% C 0.126 H 120.6°. Best body text is #000000 at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#DEF795
RGBrgb(222, 247, 149)
HSLhsl(75, 86%, 78%)
HSVhsv(75, 40%, 97%)
CMYKcmyk(10.1%, 0%, 39.7%, 3.1%)
CIE-LABlab(93.55, -23.22, 44.38)
CIE-LCHlch(93.55, 50.09, 117.62°)
OKLaboklab(93.62% -0.064 0.1084)
OKLCHoklch(93.62% 0.126 120.6)
XYZxyz(68.8098, 84.2212, 41.0592)
Luminance0.8422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF795 #AE95F7
analogous
#F7DF95 #DEF795 #ADF795
triadic
#DEF795 #95DEF7 #F795DE
tetradic
#DEF795 #95F7DF #AE95F7 #F795AD
square
#DEF795 #95F7DF #AE95F7 #F795AD
split-complementary
#DEF795 #95ADF7 #DF95F7
monochromatic
#BBEE23 #CCF35C #DEF795 #F0FBCE #F6FDE3

Accessibility & contrast

On white

1.18
#DEF795 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.84
#DEF795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF795
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF795#FFFFFF#000000##000000
##DEF7951.001.1817.8417.84
#FFFFFF1.181.0021.0021.00
#00000017.8421.001.001.00
##00000017.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED8E
Deuteranopia (green-blind)
#FFED9A
Tritanopia (blue-blind)
#E6EEDF
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #def795;
/* rgb */ color: rgb(222, 247, 149);
/* oklch */ color: oklch(93.6% 0.126 120.6);
Tailwind
colors: {
  custom: {
    50: '#e9f9b5',
    500: '#def795',
    950: '#000000',
  },
}
SCSS
$custom: #def795;
$custom-light: #e9f9b5;
$custom-dark: #000000;
JSON
{
  "hex": "#def795",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 149
  },
  "hsl": {
    "h": 75.306,
    "s": 85.965,
    "l": 77.647
  },
  "oklch": {
    "l": 0.93623,
    "c": 0.12585,
    "h": 120.6
  },
  "luminance": 0.84221
}

Semantic roles & 50–950 ramp

primary
#DEF795
secondary
#7A5AD6
accent
#03E23C
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DEF795

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

Preview Lab → · Contrast checker → · Palette generator →

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