#DEF95F#DEF95F

#DEF95F is a very light, vivid yellow-green. Relative luminance 0.841; OKLCH L 93.4% C 0.178 H 118.5°. Best body text is #000000 at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#DEF95F
RGBrgb(222, 249, 95)
HSLhsl(71, 93%, 67%)
HSVhsv(71, 62%, 98%)
CMYKcmyk(10.8%, 0%, 61.8%, 2.4%)
CIE-LABlab(93.50, -29.06, 68.69)
CIE-LCHlch(93.50, 74.58, 112.93°)
OKLaboklab(93.4% -0.085 0.1569)
OKLCHoklch(93.4% 0.178 118.5)
XYZxyz(66.0666, 84.1077, 23.5782)
Luminance0.8411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF95F #7A5FF9
analogous
#F9C75F #DEF95F #91F95F
triadic
#DEF95F #5FDEF9 #F95FDE
tetradic
#DEF95F #5FF9C7 #7A5FF9 #F95F91
square
#DEF95F #5FF9C7 #7A5FF9 #F95F91
split-complementary
#DEF95F #5F91F9 #C75FF9
monochromatic
#B2D608 #D2F724 #DEF95F #EAFB9A #F6FDD5

Accessibility & contrast

On white

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

On black

17.82
#DEF95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF95F
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF95F#FFFFFF#000000##000000
##DEF95F1.001.1817.8217.82
#FFFFFF1.181.0021.0021.00
#00000017.8221.001.001.00
##00000017.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def95f;
/* rgb */ color: rgb(222, 249, 95);
/* oklch */ color: oklch(93.4% 0.178 118.5);
Tailwind
colors: {
  custom: {
    50: '#ebfb93',
    500: '#def95f',
    950: '#000000',
  },
}
SCSS
$custom: #def95f;
$custom-light: #ebfb93;
$custom-dark: #000000;
JSON
{
  "hex": "#def95f",
  "rgb": {
    "r": 222,
    "g": 249,
    "b": 95
  },
  "hsl": {
    "h": 70.519,
    "s": 92.771,
    "l": 67.451
  },
  "oklch": {
    "l": 0.93395,
    "c": 0.17844,
    "h": 118.5
  },
  "luminance": 0.84107
}

Semantic roles & 50–950 ramp

primary
#DEF95F
secondary
#492CD0
accent
#00E628
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF95F

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

Preview Lab → · Contrast checker → · Palette generator →

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