#DEF24E#DEF24E

#DEF24E is a very light, vivid yellow. Relative luminance 0.796; OKLCH L 91.8% C 0.182 H 116.1°. Best body text is #000000 at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#DEF24E
RGBrgb(222, 242, 78)
HSLhsl(67, 86%, 63%)
HSVhsv(67, 68%, 95%)
CMYKcmyk(8.3%, 0%, 67.8%, 5.1%)
CIE-LABlab(91.50, -26.82, 73.12)
CIE-LCHlch(91.50, 77.88, 110.14°)
OKLaboklab(91.75% -0.0804 0.1638)
OKLCHoklch(91.75% 0.182 116.1)
XYZxyz(63.2530, 79.5848, 19.2355)
Luminance0.7958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF24E #624EF2
analogous
#F2B44E #DEF24E #8CF24E
triadic
#DEF24E #4EDEF2 #F24EDE
tetradic
#DEF24E #4EF2B4 #624EF2 #F24E8C
square
#DEF24E #4EF2B4 #624EF2 #F24E8C
split-complementary
#DEF24E #4E8CF2 #B44EF2
monochromatic
#A3B80E #D3EE15 #DEF24E #E9F687 #F3FAC0

Accessibility & contrast

On white

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

On black

16.92
#DEF24E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF24E
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF24E#FFFFFF#000000##000000
##DEF24E1.001.2416.9216.92
#FFFFFF1.241.0021.0021.00
#00000016.9221.001.001.00
##00000016.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE634
Deuteranopia (green-blind)
#FFE85A
Tritanopia (blue-blind)
#ECE5D1
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #def24e;
/* rgb */ color: rgb(222, 242, 78);
/* oklch */ color: oklch(91.8% 0.182 116.1);
Tailwind
colors: {
  custom: {
    50: '#ecf689',
    500: '#def24e',
    950: '#000000',
  },
}
SCSS
$custom: #def24e;
$custom-light: #ecf689;
$custom-dark: #000000;
JSON
{
  "hex": "#def24e",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 78
  },
  "hsl": {
    "h": 67.317,
    "s": 86.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.9175,
    "c": 0.18248,
    "h": 116.1
  },
  "luminance": 0.79584
}

Semantic roles & 50–950 ramp

primary
#DEF24E
secondary
#3E2DB7
accent
#03E31E
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170C
muted
#85857F

Preview Lab

Preview with #DEF24E

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

Preview Lab → · Contrast checker → · Palette generator →

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