#DEF17C#DEF17C

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

Color values

HEX#DEF17C
RGBrgb(222, 241, 124)
HSLhsl(70, 81%, 72%)
HSVhsv(70, 49%, 95%)
CMYKcmyk(7.9%, 0%, 48.5%, 5.5%)
CIE-LABlab(91.64, -22.95, 53.94)
CIE-LCHlch(91.64, 58.62, 113.05°)
OKLaboklab(91.99% -0.0651 0.1282)
OKLCHoklch(91.99% 0.144 116.9)
XYZxyz(65.2183, 79.8960, 31.0506)
Luminance0.7990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF17C #8F7CF1
analogous
#F1CA7C #DEF17C #A4F17C
triadic
#DEF17C #7CDEF1 #F17CDE
tetradic
#DEF17C #7CF1CA #8F7CF1 #F17CA4
square
#DEF17C #7CF1CA #8F7CF1 #F17CA4
split-complementary
#DEF17C #7CA4F1 #CA7CF1
monochromatic
#BBDB17 #D0EB45 #DEF17C #ECF7B3 #F8FCE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEF17C#FFFFFF#000000##000000
##DEF17C1.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)
#FFE772
Deuteranopia (green-blind)
#FDE882
Tritanopia (blue-blind)
#E9E6D6
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #def17c;
/* rgb */ color: rgb(222, 241, 124);
/* oklch */ color: oklch(92.0% 0.144 116.9);
Tailwind
colors: {
  custom: {
    50: '#eaf5a4',
    500: '#def17c',
    950: '#000000',
  },
}
SCSS
$custom: #def17c;
$custom-light: #eaf5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#def17c",
  "rgb": {
    "r": 222,
    "g": 241,
    "b": 124
  },
  "hsl": {
    "h": 69.744,
    "s": 80.69,
    "l": 71.569
  },
  "oklch": {
    "l": 0.91993,
    "c": 0.1438,
    "h": 116.9
  },
  "luminance": 0.79895
}

Semantic roles & 50–950 ramp

primary
#DEF17C
secondary
#5B46CB
accent
#08DD2B
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF17C

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

Preview Lab → · Contrast checker → · Palette generator →

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