#DEF792#DEF792

#DEF792 is a very light, vivid yellow-green. Relative luminance 0.841; OKLCH L 93.6% C 0.129 H 120.3°. Best body text is #000000 at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#DEF792
RGBrgb(222, 247, 146)
HSLhsl(75, 86%, 77%)
HSVhsv(75, 41%, 97%)
CMYKcmyk(10.1%, 0%, 40.9%, 3.1%)
CIE-LABlab(93.51, -23.56, 45.79)
CIE-LCHlch(93.51, 51.49, 117.23°)
OKLaboklab(93.58% -0.0651 0.1114)
OKLCHoklch(93.58% 0.129 120.3)
XYZxyz(68.5734, 84.1266, 39.8141)
Luminance0.8413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF792 #AB92F7
analogous
#F7DD92 #DEF792 #ACF792
triadic
#DEF792 #92DEF7 #F792DE
tetradic
#DEF792 #92F7DD #AB92F7 #F792AC
square
#DEF792 #92F7DD #AB92F7 #F792AC
split-complementary
#DEF792 #92ACF7 #DD92F7
monochromatic
#BBEF20 #CDF359 #DEF792 #EFFBCB #F6FDE2

Accessibility & contrast

On white

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

On black

17.83
#DEF792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF792
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF792#FFFFFF#000000##000000
##DEF7921.001.1817.8317.83
#FFFFFF1.181.0021.0021.00
#00000017.8321.001.001.00
##00000017.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED8A
Deuteranopia (green-blind)
#FFED97
Tritanopia (blue-blind)
#E6EDDE
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #def792;
/* rgb */ color: rgb(222, 247, 146);
/* oklch */ color: oklch(93.6% 0.129 120.3);
Tailwind
colors: {
  custom: {
    50: '#e9f9b3',
    500: '#def792',
    950: '#000000',
  },
}
SCSS
$custom: #def792;
$custom-light: #e9f9b3;
$custom-dark: #000000;
JSON
{
  "hex": "#def792",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 146
  },
  "hsl": {
    "h": 74.851,
    "s": 86.325,
    "l": 77.059
  },
  "oklch": {
    "l": 0.93576,
    "c": 0.12906,
    "h": 120.3
  },
  "luminance": 0.84126
}

Semantic roles & 50–950 ramp

primary
#DEF792
secondary
#7758D6
accent
#03E33A
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DEF792

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

Preview Lab → · Contrast checker → · Palette generator →

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