#DEF975#DEF975

#DEF975 is a very light, vivid yellow-green. Relative luminance 0.846; OKLCH L 93.6% C 0.160 H 119.2°. Best body text is #000000 at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#DEF975
RGBrgb(222, 249, 117)
HSLhsl(72, 92%, 72%)
HSVhsv(72, 53%, 98%)
CMYKcmyk(10.8%, 0%, 53%, 2.4%)
CIE-LABlab(93.70, -27.37, 59.56)
CIE-LCHlch(93.70, 65.55, 114.68°)
OKLaboklab(93.62% -0.0782 0.1399)
OKLCHoklch(93.62% 0.16 119.2)
XYZxyz(67.2115, 84.5657, 29.6082)
Luminance0.8457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF975 #9075F9
analogous
#F9D275 #DEF975 #9CF975
triadic
#DEF975 #75DEF9 #F975DE
tetradic
#DEF975 #75F9D2 #9075F9 #F9759C
square
#DEF975 #75F9D2 #9075F9 #F9759C
split-complementary
#DEF975 #759CF9 #D275F9
monochromatic
#BCE90A #D0F63A #DEF975 #ECFCB0 #F8FEE2

Accessibility & contrast

On white

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

On black

17.91
#DEF975 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF975
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF975#FFFFFF#000000##000000
##DEF9751.001.1717.9117.91
#FFFFFF1.171.0021.0021.00
#00000017.9121.001.001.00
##00000017.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED68
Deuteranopia (green-blind)
#FFED7D
Tritanopia (blue-blind)
#E9EDDC
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #def975;
/* rgb */ color: rgb(222, 249, 117);
/* oklch */ color: oklch(93.6% 0.160 119.2);
Tailwind
colors: {
  custom: {
    50: '#eafba0',
    500: '#def975',
    950: '#000000',
  },
}
SCSS
$custom: #def975;
$custom-light: #eafba0;
$custom-dark: #000000;
JSON
{
  "hex": "#def975",
  "rgb": {
    "r": 222,
    "g": 249,
    "b": 117
  },
  "hsl": {
    "h": 72.273,
    "s": 91.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.93618,
    "c": 0.16024,
    "h": 119.2
  },
  "luminance": 0.84565
}

Semantic roles & 50–950 ramp

primary
#DEF975
secondary
#5C3DD5
accent
#00E62F
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF975

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

Preview Lab → · Contrast checker → · Palette generator →

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