#DEF166#DEF166

#DEF166 is a very light, vivid yellow. Relative luminance 0.794; OKLCH L 91.7% C 0.164 H 116.3°. Best body text is #000000 at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#DEF166
RGBrgb(222, 241, 102)
HSLhsl(68, 83%, 67%)
HSVhsv(68, 58%, 95%)
CMYKcmyk(7.9%, 0%, 57.7%, 5.5%)
CIE-LABlab(91.42, -24.80, 63.51)
CIE-LCHlch(91.42, 68.18, 111.33°)
OKLaboklab(91.74% -0.0724 0.1468)
OKLCHoklch(91.74% 0.164 116.3)
XYZxyz(63.9790, 79.4003, 24.5232)
Luminance0.7940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF166 #7966F1
analogous
#F1BE66 #DEF166 #99F166
triadic
#DEF166 #66DEF1 #F166DE
tetradic
#DEF166 #66F1BE #7966F1 #F16699
square
#DEF166 #66F1BE #7966F1 #F16699
split-complementary
#DEF166 #6699F1 #BE66F1
monochromatic
#B1CA12 #D2EC2E #DEF166 #EAF69E #F6FBD6

Accessibility & contrast

On white

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

On black

16.88
#DEF166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF166
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF166#FFFFFF#000000##000000
##DEF1661.001.2416.8816.88
#FFFFFF1.241.0021.0021.00
#00000016.8821.001.001.00
##00000016.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE657
Deuteranopia (green-blind)
#FEE76F
Tritanopia (blue-blind)
#EAE5D3
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #def166;
/* rgb */ color: rgb(222, 241, 102);
/* oklch */ color: oklch(91.7% 0.164 116.3);
Tailwind
colors: {
  custom: {
    50: '#ebf596',
    500: '#def166',
    950: '#000000',
  },
}
SCSS
$custom: #def166;
$custom-light: #ebf596;
$custom-dark: #000000;
JSON
{
  "hex": "#def166",
  "rgb": {
    "r": 222,
    "g": 241,
    "b": 102
  },
  "hsl": {
    "h": 68.201,
    "s": 83.234,
    "l": 67.255
  },
  "oklch": {
    "l": 0.91743,
    "c": 0.16366,
    "h": 116.3
  },
  "luminance": 0.79399
}

Semantic roles & 50–950 ramp

primary
#DEF166
secondary
#4834C7
accent
#06E024
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #DEF166

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

Preview Lab → · Contrast checker → · Palette generator →

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