#DEF17D#DEF17D

#DEF17D is a very light, vivid yellow. Relative luminance 0.799; OKLCH L 92.0% C 0.143 H 117.0°. Best body text is #000000 at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#DEF17D
RGBrgb(222, 241, 125)
HSLhsl(70, 81%, 72%)
HSVhsv(70, 48%, 95%)
CMYKcmyk(7.9%, 0%, 48.1%, 5.5%)
CIE-LABlab(91.65, -22.86, 53.49)
CIE-LCHlch(91.65, 58.17, 113.14°)
OKLaboklab(92.01% -0.0648 0.1273)
OKLCHoklch(92.01% 0.143 117)
XYZxyz(65.2819, 79.9215, 31.3854)
Luminance0.7992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF17D #907DF1
analogous
#F1CA7D #DEF17D #A4F17D
triadic
#DEF17D #7DDEF1 #F17DDE
tetradic
#DEF17D #7DF1CA #907DF1 #F17DA4
square
#DEF17D #7DF1CA #907DF1 #F17DA4
split-complementary
#DEF17D #7DA4F1 #CA7DF1
monochromatic
#BCDC18 #D0EB46 #DEF17D #ECF7B4 #F8FCE3

Accessibility & contrast

On white

1.24
#DEF17D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.98
#DEF17D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF17D
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF17D#FFFFFF#000000##000000
##DEF17D1.001.2416.9816.98
#FFFFFF1.241.0021.0021.00
#00000016.9821.001.001.00
##00000016.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE773
Deuteranopia (green-blind)
#FDE883
Tritanopia (blue-blind)
#E9E6D6
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #def17d;
/* rgb */ color: rgb(222, 241, 125);
/* oklch */ color: oklch(92.0% 0.143 117.0);
Tailwind
colors: {
  custom: {
    50: '#eaf5a5',
    500: '#def17d',
    950: '#000000',
  },
}
SCSS
$custom: #def17d;
$custom-light: #eaf5a5;
$custom-dark: #000000;
JSON
{
  "hex": "#def17d",
  "rgb": {
    "r": 222,
    "g": 241,
    "b": 125
  },
  "hsl": {
    "h": 69.828,
    "s": 80.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.92006,
    "c": 0.14283,
    "h": 117
  },
  "luminance": 0.79921
}

Semantic roles & 50–950 ramp

primary
#DEF17D
secondary
#5C47CC
accent
#09DD2B
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF17D

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

Preview Lab → · Contrast checker → · Palette generator →

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