#DEF24F#DEF24F

#DEF24F 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#DEF24F
RGBrgb(222, 242, 79)
HSLhsl(67, 86%, 63%)
HSVhsv(67, 67%, 95%)
CMYKcmyk(8.3%, 0%, 67.4%, 5.1%)
CIE-LABlab(91.50, -26.77, 72.76)
CIE-LCHlch(91.50, 77.53, 110.20°)
OKLaboklab(91.76% -0.0801 0.1632)
OKLCHoklch(91.76% 0.182 116.1)
XYZxyz(63.2891, 79.5993, 19.4258)
Luminance0.7960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF24F #634FF2
analogous
#F2B44F #DEF24F #8CF24F
triadic
#DEF24F #4FDEF2 #F24FDE
tetradic
#DEF24F #4FF2B4 #634FF2 #F24F8C
square
#DEF24F #4FF2B4 #634FF2 #F24F8C
split-complementary
#DEF24F #4F8CF2 #B44FF2
monochromatic
#A4B90E #D3EE16 #DEF24F #E9F688 #F3FAC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEF24F#FFFFFF#000000##000000
##DEF24F1.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)
#FFE636
Deuteranopia (green-blind)
#FFE85B
Tritanopia (blue-blind)
#ECE5D2
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #def24f;
/* rgb */ color: rgb(222, 242, 79);
/* oklch */ color: oklch(91.8% 0.182 116.1);
Tailwind
colors: {
  custom: {
    50: '#ecf689',
    500: '#def24f',
    950: '#000000',
  },
}
SCSS
$custom: #def24f;
$custom-light: #ecf689;
$custom-dark: #000000;
JSON
{
  "hex": "#def24f",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 79
  },
  "hsl": {
    "h": 67.362,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.91758,
    "c": 0.18183,
    "h": 116.1
  },
  "luminance": 0.79598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DEF24F

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

Preview Lab → · Contrast checker → · Palette generator →

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