#DEF26A#DEF26A

#DEF26A is a very light, vivid yellow. Relative luminance 0.801; OKLCH L 92.0% C 0.161 H 116.7°. Best body text is #000000 at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#DEF26A
RGBrgb(222, 242, 106)
HSLhsl(69, 84%, 68%)
HSVhsv(69, 56%, 95%)
CMYKcmyk(8.3%, 0%, 56.2%, 5.1%)
CIE-LABlab(91.72, -24.97, 62.13)
CIE-LCHlch(91.72, 66.96, 111.89°)
OKLaboklab(92% -0.0725 0.1443)
OKLCHoklch(92% 0.161 116.7)
XYZxyz(64.4789, 80.0752, 25.6922)
Luminance0.8007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF26A #7E6AF2
analogous
#F2C26A #DEF26A #9AF26A
triadic
#DEF26A #6ADEF2 #F26ADE
tetradic
#DEF26A #6AF2C2 #7E6AF2 #F26A9A
square
#DEF26A #6AF2C2 #7E6AF2 #F26A9A
split-complementary
#DEF26A #6A9AF2 #C26AF2
monochromatic
#B4CF12 #D2ED32 #DEF26A #EAF7A2 #F7FCDB

Accessibility & contrast

On white

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

On black

17.01
#DEF26A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF26A
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF26A#FFFFFF#000000##000000
##DEF26A1.001.2317.0117.01
#FFFFFF1.231.0021.0021.00
#00000017.0121.001.001.00
##00000017.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE75C
Deuteranopia (green-blind)
#FFE872
Tritanopia (blue-blind)
#EAE6D4
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #def26a;
/* rgb */ color: rgb(222, 242, 106);
/* oklch */ color: oklch(92.0% 0.161 116.7);
Tailwind
colors: {
  custom: {
    50: '#ebf699',
    500: '#def26a',
    950: '#000000',
  },
}
SCSS
$custom: #def26a;
$custom-light: #ebf699;
$custom-dark: #000000;
JSON
{
  "hex": "#def26a",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 106
  },
  "hsl": {
    "h": 68.824,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.91998,
    "c": 0.16147,
    "h": 116.7
  },
  "luminance": 0.80074
}

Semantic roles & 50–950 ramp

primary
#DEF26A
secondary
#4B36CB
accent
#05E025
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DEF26A

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

Preview Lab → · Contrast checker → · Palette generator →

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