#DEF176#DEF176

#DEF176 is a very light, vivid yellow. Relative luminance 0.797; OKLCH L 91.9% C 0.150 H 116.7°. Best body text is #000000 at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#DEF176
RGBrgb(222, 241, 118)
HSLhsl(69, 81%, 70%)
HSVhsv(69, 51%, 95%)
CMYKcmyk(7.9%, 0%, 51%, 5.5%)
CIE-LABlab(91.57, -23.50, 56.62)
CIE-LCHlch(91.57, 61.30, 112.54°)
OKLaboklab(91.92% -0.0672 0.1336)
OKLCHoklch(91.92% 0.15 116.7)
XYZxyz(64.8504, 79.7489, 29.1128)
Luminance0.7975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF176 #8976F1
analogous
#F1C676 #DEF176 #A1F176
triadic
#DEF176 #76DEF1 #F176DE
tetradic
#DEF176 #76F1C6 #8976F1 #F176A1
square
#DEF176 #76F1C6 #8976F1 #F176A1
split-complementary
#DEF176 #76A1F1 #C676F1
monochromatic
#B9D716 #D1EB3E #DEF176 #EBF7AE #F8FCE3

Accessibility & contrast

On white

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

On black

16.95
#DEF176 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF176
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF176#FFFFFF#000000##000000
##DEF1761.001.2416.9516.95
#FFFFFF1.241.0021.0021.00
#00000016.9521.001.001.00
##00000016.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE66A
Deuteranopia (green-blind)
#FDE87D
Tritanopia (blue-blind)
#E9E6D5
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #def176;
/* rgb */ color: rgb(222, 241, 118);
/* oklch */ color: oklch(91.9% 0.150 116.7);
Tailwind
colors: {
  custom: {
    50: '#eaf5a0',
    500: '#def176',
    950: '#000000',
  },
}
SCSS
$custom: #def176;
$custom-light: #eaf5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#def176",
  "rgb": {
    "r": 222,
    "g": 241,
    "b": 118
  },
  "hsl": {
    "h": 69.268,
    "s": 81.457,
    "l": 70.392
  },
  "oklch": {
    "l": 0.91919,
    "c": 0.14953,
    "h": 116.7
  },
  "luminance": 0.79748
}

Semantic roles & 50–950 ramp

primary
#DEF176
secondary
#5640CB
accent
#08DE29
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF176

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

Preview Lab → · Contrast checker → · Palette generator →

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