#DEF985#DEF985

#DEF985 is a very light, vivid yellow-green. Relative luminance 0.850; OKLCH L 93.8% C 0.145 H 120.1°. Best body text is #000000 at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#DEF985
RGBrgb(222, 249, 133)
HSLhsl(74, 91%, 75%)
HSVhsv(74, 47%, 98%)
CMYKcmyk(10.8%, 0%, 46.6%, 2.4%)
CIE-LABlab(93.87, -25.88, 52.44)
CIE-LCHlch(93.87, 58.48, 116.27°)
OKLaboklab(93.82% -0.0727 0.1256)
OKLCHoklch(93.82% 0.145 120.1)
XYZxyz(68.2339, 84.9746, 34.9928)
Luminance0.8497 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF985 #A085F9
analogous
#F9DA85 #DEF985 #A4F985
triadic
#DEF985 #85DEF9 #F985DE
tetradic
#DEF985 #85F9DA #A085F9 #F985A4
square
#DEF985 #85F9DA #A085F9 #F985A4
split-complementary
#DEF985 #85A4F9 #DA85F9
monochromatic
#BEF310 #CEF64B #DEF985 #EEFCBF #F7FEE2

Accessibility & contrast

On white

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

On black

17.99
#DEF985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF985
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF985#FFFFFF#000000##000000
##DEF9851.001.1717.9917.99
#FFFFFF1.171.0021.0021.00
#00000017.9921.001.001.00
##00000017.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE7B
Deuteranopia (green-blind)
#FFEE8B
Tritanopia (blue-blind)
#E7EFDE
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #def985;
/* rgb */ color: rgb(222, 249, 133);
/* oklch */ color: oklch(93.8% 0.145 120.1);
Tailwind
colors: {
  custom: {
    50: '#eafbab',
    500: '#def985',
    950: '#000000',
  },
}
SCSS
$custom: #def985;
$custom-light: #eafbab;
$custom-dark: #000000;
JSON
{
  "hex": "#def985",
  "rgb": {
    "r": 222,
    "g": 249,
    "b": 133
  },
  "hsl": {
    "h": 73.966,
    "s": 90.625,
    "l": 74.902
  },
  "oklch": {
    "l": 0.93816,
    "c": 0.14506,
    "h": 120.1
  },
  "luminance": 0.84974
}

Semantic roles & 50–950 ramp

primary
#DEF985
secondary
#6C4BD7
accent
#00E635
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF985

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

Preview Lab → · Contrast checker → · Palette generator →

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