#DEFE5F#DEFE5F

#DEFE5F is a very light, vivid yellow-green. Relative luminance 0.872; OKLCH L 94.5% C 0.184 H 119.8°. Best body text is #000000 at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#DEFE5F
RGBrgb(222, 254, 95)
HSLhsl(72, 99%, 68%)
HSVhsv(72, 63%, 100%)
CMYKcmyk(12.6%, 0%, 62.6%, 0.4%)
CIE-LABlab(94.84, -31.37, 70.12)
CIE-LCHlch(94.84, 76.82, 114.10°)
OKLaboklab(94.47% -0.0915 0.1599)
OKLCHoklch(94.47% 0.184 119.8)
XYZxyz(67.6326, 87.2397, 24.1003)
Luminance0.8724 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFE5F #7F5FFE
analogous
#FECE5F #DEFE5F #8EFE5F
triadic
#DEFE5F #5FDEFE #FE5FDE
tetradic
#DEFE5F #5FFECE #7F5FFE #FE5F8E
square
#DEFE5F #5FFECE #7F5FFE #FE5F8E
split-complementary
#DEFE5F #5F8EFE #CE5FFE
monochromatic
#B4E101 #D1FE22 #DEFE5F #EBFE9C #F7FFD9

Accessibility & contrast

On white

1.14
#DEFE5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.45
#DEFE5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFE5F
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFE5F#FFFFFF#000000##000000
##DEFE5F1.001.1418.4518.45
#FFFFFF1.141.0021.0021.00
#00000018.4521.001.001.00
##00000018.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF04B
Deuteranopia (green-blind)
#FFF16A
Tritanopia (blue-blind)
#EAF1DD
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #defe5f;
/* rgb */ color: rgb(222, 254, 95);
/* oklch */ color: oklch(94.5% 0.184 119.8);
Tailwind
colors: {
  custom: {
    50: '#ebfe93',
    500: '#defe5f',
    950: '#000000',
  },
}
SCSS
$custom: #defe5f;
$custom-light: #ebfe93;
$custom-dark: #000000;
JSON
{
  "hex": "#defe5f",
  "rgb": {
    "r": 222,
    "g": 254,
    "b": 95
  },
  "hsl": {
    "h": 72.075,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.94474,
    "c": 0.18423,
    "h": 119.8
  },
  "luminance": 0.87239
}

Semantic roles & 50–950 ramp

primary
#DEFE5F
secondary
#4C29D8
accent
#00E62E
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #DEFE5F

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

Preview Lab → · Contrast checker → · Palette generator →

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