#DEF893#DEF893

#DEF893 is a very light, vivid yellow-green. Relative luminance 0.848; OKLCH L 93.8% C 0.129 H 120.7°. Best body text is #000000 at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#DEF893
RGBrgb(222, 248, 147)
HSLhsl(75, 88%, 77%)
HSVhsv(75, 41%, 97%)
CMYKcmyk(10.5%, 0%, 40.7%, 2.7%)
CIE-LABlab(93.78, -23.93, 45.65)
CIE-LCHlch(93.78, 51.54, 117.66°)
OKLaboklab(93.8% -0.0661 0.1112)
OKLCHoklch(93.8% 0.129 120.7)
XYZxyz(68.9581, 84.7711, 40.3277)
Luminance0.8477 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF893 #AD93F8
analogous
#F8E093 #DEF893 #ABF893
triadic
#DEF893 #93DEF8 #F893DE
tetradic
#DEF893 #93F8E0 #AD93F8 #F893AB
square
#DEF893 #93F8E0 #AD93F8 #F893AB
split-complementary
#DEF893 #93ABF8 #E093F8
monochromatic
#BBF120 #CCF45A #DEF893 #F0FCCC #F6FDE2

Accessibility & contrast

On white

1.17
#DEF893 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.95
#DEF893 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF893
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF893#FFFFFF#000000##000000
##DEF8931.001.1717.9517.95
#FFFFFF1.171.0021.0021.00
#00000017.9521.001.001.00
##00000017.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED8B
Deuteranopia (green-blind)
#FFED98
Tritanopia (blue-blind)
#E6EFDF
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #def893;
/* rgb */ color: rgb(222, 248, 147);
/* oklch */ color: oklch(93.8% 0.129 120.7);
Tailwind
colors: {
  custom: {
    50: '#e9fab4',
    500: '#def893',
    950: '#000000',
  },
}
SCSS
$custom: #def893;
$custom-light: #e9fab4;
$custom-dark: #000000;
JSON
{
  "hex": "#def893",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 147
  },
  "hsl": {
    "h": 75.446,
    "s": 87.826,
    "l": 77.451
  },
  "oklch": {
    "l": 0.93804,
    "c": 0.12933,
    "h": 120.7
  },
  "luminance": 0.84771
}

Semantic roles & 50–950 ramp

primary
#DEF893
secondary
#7958D7
accent
#01E43C
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DEF893

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

Preview Lab → · Contrast checker → · Palette generator →

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