#DEF66F#DEF66F

#DEF66F is a very light, vivid yellow-green. Relative luminance 0.826; OKLCH L 92.9% C 0.162 H 118.1°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#DEF66F
RGBrgb(222, 246, 111)
HSLhsl(71, 88%, 70%)
HSVhsv(71, 55%, 96%)
CMYKcmyk(9.8%, 0%, 54.9%, 3.5%)
CIE-LABlab(92.83, -26.46, 61.22)
CIE-LCHlch(92.83, 66.69, 113.38°)
OKLaboklab(92.91% -0.0762 0.1428)
OKLCHoklch(92.91% 0.162 118.1)
XYZxyz(65.9501, 82.5893, 27.5029)
Luminance0.8259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF66F #876FF6
analogous
#F6CB6F #DEF66F #9AF66F
triadic
#DEF66F #6FDEF6 #F66FDE
tetradic
#DEF66F #6FF6CB #876FF6 #F66F9A
square
#DEF66F #6FF6CB #876FF6 #F66F9A
split-complementary
#DEF66F #6F9AF6 #CB6FF6
monochromatic
#B8DD0E #D1F235 #DEF66F #EBFAA9 #F8FDE2

Accessibility & contrast

On white

1.20
#DEF66F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.52
#DEF66F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF66F
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF66F#FFFFFF#000000##000000
##DEF66F1.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA61
Deuteranopia (green-blind)
#FFEB77
Tritanopia (blue-blind)
#E9EAD8
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #def66f;
/* rgb */ color: rgb(222, 246, 111);
/* oklch */ color: oklch(92.9% 0.162 118.1);
Tailwind
colors: {
  custom: {
    50: '#ebf99c',
    500: '#def66f',
    950: '#000000',
  },
}
SCSS
$custom: #def66f;
$custom-light: #ebf99c;
$custom-dark: #000000;
JSON
{
  "hex": "#def66f",
  "rgb": {
    "r": 222,
    "g": 246,
    "b": 111
  },
  "hsl": {
    "h": 70.667,
    "s": 88.235,
    "l": 70
  },
  "oklch": {
    "l": 0.92908,
    "c": 0.1619,
    "h": 118.1
  },
  "luminance": 0.82589
}

Semantic roles & 50–950 ramp

primary
#DEF66F
secondary
#5439D0
accent
#01E529
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DEF66F

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

Preview Lab → · Contrast checker → · Palette generator →

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