#DEF762#DEF762

#DEF762 is a very light, vivid yellow-green. Relative luminance 0.829; OKLCH L 93.0% C 0.174 H 118.0°. Best body text is #000000 at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#DEF762
RGBrgb(222, 247, 98)
HSLhsl(70, 90%, 68%)
HSVhsv(70, 60%, 97%)
CMYKcmyk(10.1%, 0%, 60.3%, 3.1%)
CIE-LABlab(92.99, -27.92, 66.92)
CIE-LCHlch(92.99, 72.51, 112.65°)
OKLaboklab(92.99% -0.0815 0.1535)
OKLCHoklch(92.99% 0.174 118)
XYZxyz(65.5907, 82.9335, 24.1053)
Luminance0.8293 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF762 #7B62F7
analogous
#F7C562 #DEF762 #94F762
triadic
#DEF762 #62DEF7 #F762DE
tetradic
#DEF762 #62F7C5 #7B62F7 #F76294
square
#DEF762 #62F7C5 #7B62F7 #F76294
split-complementary
#DEF762 #6294F7 #C562F7
monochromatic
#B2D40B #D2F428 #DEF762 #EAFA9C #F6FDD6

Accessibility & contrast

On white

1.19
#DEF762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.59
#DEF762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF762
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF762#FFFFFF#000000##000000
##DEF7621.001.1917.5917.59
#FFFFFF1.191.0021.0021.00
#00000017.5921.001.001.00
##00000017.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB50
Deuteranopia (green-blind)
#FFEC6C
Tritanopia (blue-blind)
#EAEAD8
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #def762;
/* rgb */ color: rgb(222, 247, 98);
/* oklch */ color: oklch(93.0% 0.174 118.0);
Tailwind
colors: {
  custom: {
    50: '#ebf994',
    500: '#def762',
    950: '#000000',
  },
}
SCSS
$custom: #def762;
$custom-light: #ebf994;
$custom-dark: #000000;
JSON
{
  "hex": "#def762",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 98
  },
  "hsl": {
    "h": 70.067,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.92991,
    "c": 0.17383,
    "h": 118
  },
  "luminance": 0.82933
}

Semantic roles & 50–950 ramp

primary
#DEF762
secondary
#492FCF
accent
#00E627
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #DEF762

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

Preview Lab → · Contrast checker → · Palette generator →

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