#DEF892#DEF892

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

Color values

HEX#DEF892
RGBrgb(222, 248, 146)
HSLhsl(75, 88%, 77%)
HSVhsv(75, 41%, 97%)
CMYKcmyk(10.5%, 0%, 41.1%, 2.7%)
CIE-LABlab(93.77, -24.04, 46.12)
CIE-LCHlch(93.77, 52.01, 117.53°)
OKLaboklab(93.79% -0.0665 0.1122)
OKLCHoklch(93.79% 0.13 120.7)
XYZxyz(68.8800, 84.7398, 39.9163)
Luminance0.8474 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF892 #AC92F8
analogous
#F8DF92 #DEF892 #ABF892
triadic
#DEF892 #92DEF8 #F892DE
tetradic
#DEF892 #92F8DF #AC92F8 #F892AB
square
#DEF892 #92F8DF #AC92F8 #F892AB
split-complementary
#DEF892 #92ABF8 #DF92F8
monochromatic
#BBF11F #CDF458 #DEF892 #EFFCCC #F6FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEF892#FFFFFF#000000##000000
##DEF8921.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)
#FFED8A
Deuteranopia (green-blind)
#FFED97
Tritanopia (blue-blind)
#E6EEDF
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #def892;
/* rgb */ color: rgb(222, 248, 146);
/* oklch */ color: oklch(93.8% 0.130 120.7);
Tailwind
colors: {
  custom: {
    50: '#e9fab3',
    500: '#def892',
    950: '#000000',
  },
}
SCSS
$custom: #def892;
$custom-light: #e9fab3;
$custom-dark: #000000;
JSON
{
  "hex": "#def892",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 146
  },
  "hsl": {
    "h": 75.294,
    "s": 87.931,
    "l": 77.255
  },
  "oklch": {
    "l": 0.93789,
    "c": 0.1304,
    "h": 120.7
  },
  "luminance": 0.8474
}

Semantic roles & 50–950 ramp

primary
#DEF892
secondary
#7857D7
accent
#01E53B
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DEF892

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

Preview Lab → · Contrast checker → · Palette generator →

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