#DEF87C#DEF87C

#DEF87C is a very light, vivid yellow-green. Relative luminance 0.841; OKLCH L 93.5% C 0.153 H 119.2°. Best body text is #000000 at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#DEF87C
RGBrgb(222, 248, 124)
HSLhsl(73, 90%, 73%)
HSVhsv(73, 50%, 97%)
CMYKcmyk(10.5%, 0%, 50%, 2.7%)
CIE-LABlab(93.50, -26.28, 56.17)
CIE-LCHlch(93.50, 62.01, 115.07°)
OKLaboklab(93.49% -0.0745 0.1331)
OKLCHoklch(93.49% 0.153 119.2)
XYZxyz(67.3303, 84.1200, 31.7546)
Luminance0.8412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF87C #967CF8
analogous
#F8D47C #DEF87C #A0F87C
triadic
#DEF87C #7CDEF8 #F87CDE
tetradic
#DEF87C #7CF8D4 #967CF8 #F87CA0
square
#DEF87C #7CF8D4 #967CF8 #F87CA0
split-complementary
#DEF87C #7CA0F8 #D47CF8
monochromatic
#BEED0D #CFF542 #DEF87C #EDFBB6 #F8FDE2

Accessibility & contrast

On white

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

On black

17.82
#DEF87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF87C
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF87C#FFFFFF#000000##000000
##DEF87C1.001.1817.8217.82
#FFFFFF1.181.0021.0021.00
#00000017.8221.001.001.00
##00000017.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC71
Deuteranopia (green-blind)
#FFED83
Tritanopia (blue-blind)
#E8EDDC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #def87c;
/* rgb */ color: rgb(222, 248, 124);
/* oklch */ color: oklch(93.5% 0.153 119.2);
Tailwind
colors: {
  custom: {
    50: '#eafaa5',
    500: '#def87c',
    950: '#000000',
  },
}
SCSS
$custom: #def87c;
$custom-light: #eafaa5;
$custom-dark: #000000;
JSON
{
  "hex": "#def87c",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 124
  },
  "hsl": {
    "h": 72.581,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.93487,
    "c": 0.15253,
    "h": 119.2
  },
  "luminance": 0.8412
}

Semantic roles & 50–950 ramp

primary
#DEF87C
secondary
#6244D4
accent
#00E630
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF87C

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

Preview Lab → · Contrast checker → · Palette generator →

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