#DEF177#DEF177

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

Color values

HEX#DEF177
RGBrgb(222, 241, 119)
HSLhsl(69, 81%, 71%)
HSVhsv(69, 51%, 95%)
CMYKcmyk(7.9%, 0%, 50.6%, 5.5%)
CIE-LABlab(91.58, -23.41, 56.18)
CIE-LCHlch(91.58, 60.86, 112.62°)
OKLaboklab(91.93% -0.0669 0.1327)
OKLCHoklch(91.93% 0.149 116.7)
XYZxyz(64.9101, 79.7728, 29.4274)
Luminance0.7977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF177 #8A77F1
analogous
#F1C777 #DEF177 #A1F177
triadic
#DEF177 #77DEF1 #F177DE
tetradic
#DEF177 #77F1C7 #8A77F1 #F177A1
square
#DEF177 #77F1C7 #8A77F1 #F177A1
split-complementary
#DEF177 #77A1F1 #C777F1
monochromatic
#B9D716 #D1EB40 #DEF177 #EBF7AE #F8FCE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEF177#FFFFFF#000000##000000
##DEF1771.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)
#FFE66C
Deuteranopia (green-blind)
#FDE87E
Tritanopia (blue-blind)
#E9E6D5
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #def177;
/* rgb */ color: rgb(222, 241, 119);
/* oklch */ color: oklch(91.9% 0.149 116.7);
Tailwind
colors: {
  custom: {
    50: '#eaf5a1',
    500: '#def177',
    950: '#000000',
  },
}
SCSS
$custom: #def177;
$custom-light: #eaf5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#def177",
  "rgb": {
    "r": 222,
    "g": 241,
    "b": 119
  },
  "hsl": {
    "h": 69.344,
    "s": 81.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91931,
    "c": 0.14859,
    "h": 116.7
  },
  "luminance": 0.79772
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DEF177

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

Preview Lab → · Contrast checker → · Palette generator →

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