#DEF867#DEF867

#DEF867 is a very light, vivid yellow-green. Relative luminance 0.836; OKLCH L 93.3% C 0.171 H 118.4°. Best body text is #000000 at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#DEF867
RGBrgb(222, 248, 103)
HSLhsl(71, 91%, 69%)
HSVhsv(71, 58%, 97%)
CMYKcmyk(10.5%, 0%, 58.5%, 2.7%)
CIE-LABlab(93.30, -28.02, 65.18)
CIE-LCHlch(93.30, 70.95, 113.27°)
OKLaboklab(93.25% -0.0814 0.1504)
OKLCHoklch(93.25% 0.171 118.4)
XYZxyz(66.1408, 83.6442, 25.4899)
Luminance0.8364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF867 #8167F8
analogous
#F8CA67 #DEF867 #96F867
triadic
#DEF867 #67DEF8 #F867DE
tetradic
#DEF867 #67F8CA #8167F8 #F86796
square
#DEF867 #67F8CA #8167F8 #F86796
split-complementary
#DEF867 #6796F8 #CA67F8
monochromatic
#B5DB0A #D1F52C #DEF867 #EBFBA2 #F7FDDC

Accessibility & contrast

On white

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

On black

17.73
#DEF867 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF867
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF867#FFFFFF#000000##000000
##DEF8671.001.1817.7317.73
#FFFFFF1.181.0021.0021.00
#00000017.7321.001.001.00
##00000017.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC57
Deuteranopia (green-blind)
#FFEC70
Tritanopia (blue-blind)
#EAECD9
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #def867;
/* rgb */ color: rgb(222, 248, 103);
/* oklch */ color: oklch(93.3% 0.171 118.4);
Tailwind
colors: {
  custom: {
    50: '#ebfa97',
    500: '#def867',
    950: '#000000',
  },
}
SCSS
$custom: #def867;
$custom-light: #ebfa97;
$custom-dark: #000000;
JSON
{
  "hex": "#def867",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 103
  },
  "hsl": {
    "h": 70.759,
    "s": 91.195,
    "l": 68.824
  },
  "oklch": {
    "l": 0.93254,
    "c": 0.17102,
    "h": 118.4
  },
  "luminance": 0.83644
}

Semantic roles & 50–950 ramp

primary
#DEF867
secondary
#4E32D2
accent
#00E629
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #DEF867

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

Preview Lab → · Contrast checker → · Palette generator →

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