#DEF170#DEF170

#DEF170 is a very light, vivid yellow. Relative luminance 0.796; OKLCH L 91.8% C 0.155 H 116.5°. Best body text is #000000 at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#DEF170
RGBrgb(222, 241, 112)
HSLhsl(69, 82%, 69%)
HSVhsv(69, 54%, 95%)
CMYKcmyk(7.9%, 0%, 53.5%, 5.5%)
CIE-LABlab(91.51, -24.01, 59.26)
CIE-LCHlch(91.51, 63.94, 112.06°)
OKLaboklab(91.85% -0.0692 0.1387)
OKLCHoklch(91.85% 0.155 116.5)
XYZxyz(64.5051, 79.6108, 27.2944)
Luminance0.7961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF170 #8370F1
analogous
#F1C470 #DEF170 #9EF170
triadic
#DEF170 #70DEF1 #F170DE
tetradic
#DEF170 #70F1C4 #8370F1 #F1709E
square
#DEF170 #70F1C4 #8370F1 #F1709E
split-complementary
#DEF170 #709EF1 #C470F1
monochromatic
#B6D215 #D1EC38 #DEF170 #EBF6A8 #F8FCDF

Accessibility & contrast

On white

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

On black

16.92
#DEF170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF170
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF170#FFFFFF#000000##000000
##DEF1701.001.2416.9216.92
#FFFFFF1.241.0021.0021.00
#00000016.9221.001.001.00
##00000016.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE663
Deuteranopia (green-blind)
#FEE877
Tritanopia (blue-blind)
#EAE5D4
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #def170;
/* rgb */ color: rgb(222, 241, 112);
/* oklch */ color: oklch(91.8% 0.155 116.5);
Tailwind
colors: {
  custom: {
    50: '#eaf59d',
    500: '#def170',
    950: '#000000',
  },
}
SCSS
$custom: #def170;
$custom-light: #eaf59d;
$custom-dark: #000000;
JSON
{
  "hex": "#def170",
  "rgb": {
    "r": 222,
    "g": 241,
    "b": 112
  },
  "hsl": {
    "h": 68.837,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.91849,
    "c": 0.15503,
    "h": 116.5
  },
  "luminance": 0.7961
}

Semantic roles & 50–950 ramp

primary
#DEF170
secondary
#503BCA
accent
#07DF27
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DEF170

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

Preview Lab → · Contrast checker → · Palette generator →

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