#DEF662#DEF662

#DEF662 is a very light, vivid yellow. Relative luminance 0.823; OKLCH L 92.8% C 0.173 H 117.7°. Best body text is #000000 at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#DEF662
RGBrgb(222, 246, 98)
HSLhsl(70, 89%, 67%)
HSVhsv(70, 60%, 96%)
CMYKcmyk(9.8%, 0%, 60.2%, 3.5%)
CIE-LABlab(92.72, -27.45, 66.62)
CIE-LCHlch(92.72, 72.06, 112.39°)
OKLaboklab(92.78% -0.0802 0.1529)
OKLCHoklch(92.78% 0.173 117.7)
XYZxyz(65.2857, 82.3236, 24.0037)
Luminance0.8232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF662 #7A62F6
analogous
#F6C462 #DEF662 #94F662
triadic
#DEF662 #62DEF6 #F662DE
tetradic
#DEF662 #62F6C4 #7A62F6 #F66294
square
#DEF662 #62F6C4 #7A62F6 #F66294
split-complementary
#DEF662 #6294F6 #C462F6
monochromatic
#B2D20C #D2F328 #DEF662 #EAF99C #F6FDD6

Accessibility & contrast

On white

1.20
#DEF662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.46
#DEF662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF662
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF662#FFFFFF#000000##000000
##DEF6621.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA51
Deuteranopia (green-blind)
#FFEB6C
Tritanopia (blue-blind)
#EAE9D7
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #def662;
/* rgb */ color: rgb(222, 246, 98);
/* oklch */ color: oklch(92.8% 0.173 117.7);
Tailwind
colors: {
  custom: {
    50: '#ebf994',
    500: '#def662',
    950: '#000000',
  },
}
SCSS
$custom: #def662;
$custom-light: #ebf994;
$custom-dark: #000000;
JSON
{
  "hex": "#def662",
  "rgb": {
    "r": 222,
    "g": 246,
    "b": 98
  },
  "hsl": {
    "h": 69.73,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.92776,
    "c": 0.17268,
    "h": 117.7
  },
  "luminance": 0.82323
}

Semantic roles & 50–950 ramp

primary
#DEF662
secondary
#492FCD
accent
#00E625
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #DEF662

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

Preview Lab → · Contrast checker → · Palette generator →

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