#DEF85F#DEF85F

#DEF85F is a very light, vivid yellow-green. Relative luminance 0.835; OKLCH L 93.2% C 0.177 H 118.2°. Best body text is #000000 at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#DEF85F
RGBrgb(222, 248, 95)
HSLhsl(70, 92%, 67%)
HSVhsv(70, 62%, 97%)
CMYKcmyk(10.5%, 0%, 61.7%, 2.7%)
CIE-LABlab(93.23, -28.59, 68.40)
CIE-LCHlch(93.23, 74.14, 112.69°)
OKLaboklab(93.18% -0.0837 0.1563)
OKLCHoklch(93.18% 0.177 118.2)
XYZxyz(65.7583, 83.4912, 23.4755)
Luminance0.8349 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF85F #795FF8
analogous
#F8C65F #DEF85F #92F85F
triadic
#DEF85F #5FDEF8 #F85FDE
tetradic
#DEF85F #5FF8C6 #795FF8 #F85F92
square
#DEF85F #5FF8C6 #795FF8 #F85F92
split-complementary
#DEF85F #5F92F8 #C65FF8
monochromatic
#B1D309 #D2F524 #DEF85F #EAFB9A #F6FDD4

Accessibility & contrast

On white

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

On black

17.70
#DEF85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF85F
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF85F#FFFFFF#000000##000000
##DEF85F1.001.1917.7017.70
#FFFFFF1.191.0021.0021.00
#00000017.7021.001.001.00
##00000017.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB4C
Deuteranopia (green-blind)
#FFEC69
Tritanopia (blue-blind)
#EAEBD8
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #def85f;
/* rgb */ color: rgb(222, 248, 95);
/* oklch */ color: oklch(93.2% 0.177 118.2);
Tailwind
colors: {
  custom: {
    50: '#ebfa93',
    500: '#def85f',
    950: '#000000',
  },
}
SCSS
$custom: #def85f;
$custom-light: #ebfa93;
$custom-dark: #000000;
JSON
{
  "hex": "#def85f",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 95
  },
  "hsl": {
    "h": 70.196,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.93179,
    "c": 0.17729,
    "h": 118.2
  },
  "luminance": 0.83491
}

Semantic roles & 50–950 ramp

primary
#DEF85F
secondary
#482DCE
accent
#00E627
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF85F

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

Preview Lab → · Contrast checker → · Palette generator →

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