#DEF25A#DEF25A

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

Color values

HEX#DEF25A
RGBrgb(222, 242, 90)
HSLhsl(68, 85%, 65%)
HSVhsv(68, 63%, 95%)
CMYKcmyk(8.3%, 0%, 62.8%, 5.1%)
CIE-LABlab(91.58, -26.11, 68.64)
CIE-LCHlch(91.58, 73.44, 110.82°)
OKLaboklab(91.85% -0.0772 0.1561)
OKLCHoklch(91.85% 0.174 116.3)
XYZxyz(63.7232, 79.7729, 21.7117)
Luminance0.7977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF25A #6E5AF2
analogous
#F2BA5A #DEF25A #92F25A
triadic
#DEF25A #5ADEF2 #F25ADE
tetradic
#DEF25A #5AF2BA #6E5AF2 #F25A92
square
#DEF25A #5AF2BA #6E5AF2 #F25A92
split-complementary
#DEF25A #5A92F2 #BA5AF2
monochromatic
#ABC20F #D3EE21 #DEF25A #E9F693 #F5FBCB

Accessibility & contrast

On white

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

On black

16.95
#DEF25A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF25A
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF25A#FFFFFF#000000##000000
##DEF25A1.001.2416.9516.95
#FFFFFF1.241.0021.0021.00
#00000016.9521.001.001.00
##00000016.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def25a;
/* rgb */ color: rgb(222, 242, 90);
/* oklch */ color: oklch(91.8% 0.174 116.3);
Tailwind
colors: {
  custom: {
    50: '#ebf68f',
    500: '#def25a',
    950: '#000000',
  },
}
SCSS
$custom: #def25a;
$custom-light: #ebf68f;
$custom-dark: #000000;
JSON
{
  "hex": "#def25a",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 90
  },
  "hsl": {
    "h": 67.895,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.91845,
    "c": 0.1742,
    "h": 116.3
  },
  "luminance": 0.79772
}

Semantic roles & 50–950 ramp

primary
#DEF25A
secondary
#4330C0
accent
#04E221
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF25A

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

Preview Lab → · Contrast checker → · Palette generator →

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