#DEF26F#DEF26F

#DEF26F is a very light, vivid yellow. Relative luminance 0.802; OKLCH L 92.1% C 0.157 H 116.8°. Best body text is #000000 at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#DEF26F
RGBrgb(222, 242, 111)
HSLhsl(69, 83%, 69%)
HSVhsv(69, 54%, 95%)
CMYKcmyk(8.3%, 0%, 54.1%, 5.1%)
CIE-LABlab(91.77, -24.57, 60.00)
CIE-LCHlch(91.77, 64.83, 112.27°)
OKLaboklab(92.05% -0.0709 0.1402)
OKLCHoklch(92.05% 0.157 116.8)
XYZxyz(64.7466, 80.1822, 27.1017)
Luminance0.8018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF26F #836FF2
analogous
#F2C46F #DEF26F #9DF26F
triadic
#DEF26F #6FDEF2 #F26FDE
tetradic
#DEF26F #6FF2C4 #836FF2 #F26F9D
square
#DEF26F #6FF2C4 #836FF2 #F26F9D
split-complementary
#DEF26F #6F9DF2 #C46FF2
monochromatic
#B6D413 #D1ED37 #DEF26F #EBF7A7 #F8FCDF

Accessibility & contrast

On white

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

On black

17.04
#DEF26F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF26F
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF26F#FFFFFF#000000##000000
##DEF26F1.001.2317.0417.04
#FFFFFF1.231.0021.0021.00
#00000017.0421.001.001.00
##00000017.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE762
Deuteranopia (green-blind)
#FFE877
Tritanopia (blue-blind)
#EAE6D5
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #def26f;
/* rgb */ color: rgb(222, 242, 111);
/* oklch */ color: oklch(92.1% 0.157 116.8);
Tailwind
colors: {
  custom: {
    50: '#ebf69c',
    500: '#def26f',
    950: '#000000',
  },
}
SCSS
$custom: #def26f;
$custom-light: #ebf69c;
$custom-dark: #000000;
JSON
{
  "hex": "#def26f",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 111
  },
  "hsl": {
    "h": 69.16,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.92052,
    "c": 0.15711,
    "h": 116.8
  },
  "luminance": 0.80182
}

Semantic roles & 50–950 ramp

primary
#DEF26F
secondary
#503ACB
accent
#06E027
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DEF26F

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

Preview Lab → · Contrast checker → · Palette generator →

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