#DEF366#DEF366

#DEF366 is a very light, vivid yellow. Relative luminance 0.806; OKLCH L 92.2% C 0.166 H 116.9°. Best body text is #000000 at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#DEF366
RGBrgb(222, 243, 102)
HSLhsl(69, 85%, 68%)
HSVhsv(69, 58%, 95%)
CMYKcmyk(8.6%, 0%, 58%, 4.7%)
CIE-LABlab(91.95, -25.75, 64.11)
CIE-LCHlch(91.95, 69.08, 111.88°)
OKLaboklab(92.17% -0.0751 0.148)
OKLCHoklch(92.17% 0.166 116.9)
XYZxyz(64.5742, 80.5908, 24.7216)
Luminance0.8059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF366 #7B66F3
analogous
#F3C166 #DEF366 #98F366
triadic
#DEF366 #66DEF3 #F366DE
tetradic
#DEF366 #66F3C1 #7B66F3 #F36698
square
#DEF366 #66F3C1 #7B66F3 #F36698
split-complementary
#DEF366 #6698F3 #C166F3
monochromatic
#B2CE10 #D2EF2D #DEF366 #EAF79F #F6FCD7

Accessibility & contrast

On white

1.23
#DEF366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.12
#DEF366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF366
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF366#FFFFFF#000000##000000
##DEF3661.001.2317.1217.12
#FFFFFF1.231.0021.0021.00
#00000017.1221.001.001.00
##00000017.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE756
Deuteranopia (green-blind)
#FFE96F
Tritanopia (blue-blind)
#EAE7D5
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #def366;
/* rgb */ color: rgb(222, 243, 102);
/* oklch */ color: oklch(92.2% 0.166 116.9);
Tailwind
colors: {
  custom: {
    50: '#ebf797',
    500: '#def366',
    950: '#000000',
  },
}
SCSS
$custom: #def366;
$custom-light: #ebf797;
$custom-dark: #000000;
JSON
{
  "hex": "#def366",
  "rgb": {
    "r": 222,
    "g": 243,
    "b": 102
  },
  "hsl": {
    "h": 68.936,
    "s": 85.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.92171,
    "c": 0.16599,
    "h": 116.9
  },
  "luminance": 0.8059
}

Semantic roles & 50–950 ramp

primary
#DEF366
secondary
#4933CA
accent
#04E225
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #DEF366

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

Preview Lab → · Contrast checker → · Palette generator →

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