#DEF25B#DEF25B

#DEF25B is a very light, vivid yellow. Relative luminance 0.798; OKLCH L 91.9% C 0.173 H 116.3°. Best body text is #000000 at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#DEF25B
RGBrgb(222, 242, 91)
HSLhsl(68, 85%, 65%)
HSVhsv(68, 62%, 95%)
CMYKcmyk(8.3%, 0%, 62.4%, 5.1%)
CIE-LABlab(91.59, -26.04, 68.25)
CIE-LCHlch(91.59, 73.05, 110.88°)
OKLaboklab(91.85% -0.077 0.1555)
OKLCHoklch(91.85% 0.173 116.3)
XYZxyz(63.7660, 79.7900, 21.9373)
Luminance0.7979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF25B #6F5BF2
analogous
#F2BA5B #DEF25B #92F25B
triadic
#DEF25B #5BDEF2 #F25BDE
tetradic
#DEF25B #5BF2BA #6F5BF2 #F25B92
square
#DEF25B #5BF2BA #6F5BF2 #F25B92
split-complementary
#DEF25B #5B92F2 #BA5BF2
monochromatic
#ABC30F #D3EE22 #DEF25B #E9F694 #F5FBCC

Accessibility & contrast

On white

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

On black

16.96
#DEF25B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF25B
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF25B#FFFFFF#000000##000000
##DEF25B1.001.2416.9616.96
#FFFFFF1.241.0021.0021.00
#00000016.9621.001.001.00
##00000016.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE648
Deuteranopia (green-blind)
#FFE865
Tritanopia (blue-blind)
#EBE5D3
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #def25b;
/* rgb */ color: rgb(222, 242, 91);
/* oklch */ color: oklch(91.9% 0.173 116.3);
Tailwind
colors: {
  custom: {
    50: '#ebf690',
    500: '#def25b',
    950: '#000000',
  },
}
SCSS
$custom: #def25b;
$custom-light: #ebf690;
$custom-dark: #000000;
JSON
{
  "hex": "#def25b",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 91
  },
  "hsl": {
    "h": 67.947,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.91854,
    "c": 0.17346,
    "h": 116.3
  },
  "luminance": 0.79789
}

Semantic roles & 50–950 ramp

primary
#DEF25B
secondary
#4431C1
accent
#04E221
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF25B

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

Preview Lab → · Contrast checker → · Palette generator →

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