#DEF24B#DEF24B

#DEF24B is a very light, vivid yellow. Relative luminance 0.795; OKLCH L 91.7% C 0.184 H 116.1°. Best body text is #000000 at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#DEF24B
RGBrgb(222, 242, 75)
HSLhsl(67, 87%, 62%)
HSVhsv(67, 69%, 95%)
CMYKcmyk(8.3%, 0%, 69%, 5.1%)
CIE-LABlab(91.48, -26.98, 74.17)
CIE-LCHlch(91.48, 78.93, 109.99°)
OKLaboklab(91.73% -0.0811 0.1656)
OKLCHoklch(91.73% 0.184 116.1)
XYZxyz(63.1479, 79.5428, 18.6819)
Luminance0.7954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF24B #5F4BF2
analogous
#F2B34B #DEF24B #8AF24B
triadic
#DEF24B #4BDEF2 #F24BDE
tetradic
#DEF24B #4BF2B3 #5F4BF2 #F24B8A
square
#DEF24B #4BF2B3 #5F4BF2 #F24B8A
split-complementary
#DEF24B #4B8AF2 #B34BF2
monochromatic
#A1B50D #D4EE12 #DEF24B #E8F684 #F3FABD

Accessibility & contrast

On white

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

On black

16.91
#DEF24B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF24B
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF24B#FFFFFF#000000##000000
##DEF24B1.001.2416.9116.91
#FFFFFF1.241.0021.0021.00
#00000016.9121.001.001.00
##00000016.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE62F
Deuteranopia (green-blind)
#FFE858
Tritanopia (blue-blind)
#ECE4D1
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #def24b;
/* rgb */ color: rgb(222, 242, 75);
/* oklch */ color: oklch(91.7% 0.184 116.1);
Tailwind
colors: {
  custom: {
    50: '#ecf687',
    500: '#def24b',
    950: '#000000',
  },
}
SCSS
$custom: #def24b;
$custom-light: #ecf687;
$custom-dark: #000000;
JSON
{
  "hex": "#def24b",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 75
  },
  "hsl": {
    "h": 67.186,
    "s": 86.528,
    "l": 62.157
  },
  "oklch": {
    "l": 0.91729,
    "c": 0.18436,
    "h": 116.1
  },
  "luminance": 0.79542
}

Semantic roles & 50–950 ramp

primary
#DEF24B
secondary
#3D2CB5
accent
#02E31D
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170C
muted
#85857F

Preview Lab

Preview with #DEF24B

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

Preview Lab → · Contrast checker → · Palette generator →

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