#DEF875#DEF875

#DEF875 is a very light, vivid yellow-green. Relative luminance 0.839; OKLCH L 93.4% C 0.159 H 118.9°. Best body text is #000000 at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#DEF875
RGBrgb(222, 248, 117)
HSLhsl(72, 90%, 72%)
HSVhsv(72, 53%, 97%)
CMYKcmyk(10.5%, 0%, 52.8%, 2.7%)
CIE-LABlab(93.43, -26.90, 59.25)
CIE-LCHlch(93.43, 65.07, 114.42°)
OKLaboklab(93.4% -0.0769 0.1392)
OKLCHoklch(93.4% 0.159 118.9)
XYZxyz(66.9033, 83.9491, 29.5055)
Luminance0.8395 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF875 #8F75F8
analogous
#F8D075 #DEF875 #9DF875
triadic
#DEF875 #75DEF8 #F875DE
tetradic
#DEF875 #75F8D0 #8F75F8 #F8759D
square
#DEF875 #75F8D0 #8F75F8 #F8759D
split-complementary
#DEF875 #759DF8 #D075F8
monochromatic
#BBE70C #D0F53B #DEF875 #ECFBAF #F8FEE2

Accessibility & contrast

On white

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

On black

17.79
#DEF875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF875
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF875#FFFFFF#000000##000000
##DEF8751.001.1817.7917.79
#FFFFFF1.181.0021.0021.00
#00000017.7921.001.001.00
##00000017.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC68
Deuteranopia (green-blind)
#FFED7D
Tritanopia (blue-blind)
#E9ECDB
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #def875;
/* rgb */ color: rgb(222, 248, 117);
/* oklch */ color: oklch(93.4% 0.159 118.9);
Tailwind
colors: {
  custom: {
    50: '#eafaa0',
    500: '#def875',
    950: '#000000',
  },
}
SCSS
$custom: #def875;
$custom-light: #eafaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#def875",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 117
  },
  "hsl": {
    "h": 71.908,
    "s": 90.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.93403,
    "c": 0.159,
    "h": 118.9
  },
  "luminance": 0.83949
}

Semantic roles & 50–950 ramp

primary
#DEF875
secondary
#5B3ED3
accent
#00E62E
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF875

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

Preview Lab → · Contrast checker → · Palette generator →

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