#DEF15A#DEF15A

#DEF15A is a very light, vivid yellow. Relative luminance 0.792; OKLCH L 91.6% C 0.173 H 116.0°. Best body text is #000000 at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#DEF15A
RGBrgb(222, 241, 90)
HSLhsl(68, 84%, 65%)
HSVhsv(68, 63%, 95%)
CMYKcmyk(7.9%, 0%, 62.7%, 5.5%)
CIE-LABlab(91.32, -25.63, 68.36)
CIE-LCHlch(91.32, 73.01, 110.56°)
OKLaboklab(91.63% -0.0759 0.1555)
OKLCHoklch(91.63% 0.173 116)
XYZxyz(63.4263, 79.1792, 21.6127)
Luminance0.7918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF15A #6D5AF1
analogous
#F1B95A #DEF15A #92F15A
triadic
#DEF15A #5ADEF1 #F15ADE
tetradic
#DEF15A #5AF1B9 #6D5AF1 #F15A92
square
#DEF15A #5AF1B9 #6D5AF1 #F15A92
split-complementary
#DEF15A #5A92F1 #B95AF1
monochromatic
#AAC010 #D3EC22 #DEF15A #E9F692 #F5FBCB

Accessibility & contrast

On white

1.25
#DEF15A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.84
#DEF15A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF15A
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF15A#FFFFFF#000000##000000
##DEF15A1.001.2516.8416.84
#FFFFFF1.251.0021.0021.00
#00000016.8421.001.001.00
##00000016.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE547
Deuteranopia (green-blind)
#FFE764
Tritanopia (blue-blind)
#EBE4D2
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #def15a;
/* rgb */ color: rgb(222, 241, 90);
/* oklch */ color: oklch(91.6% 0.173 116.0);
Tailwind
colors: {
  custom: {
    50: '#ebf58f',
    500: '#def15a',
    950: '#000000',
  },
}
SCSS
$custom: #def15a;
$custom-light: #ebf58f;
$custom-dark: #000000;
JSON
{
  "hex": "#def15a",
  "rgb": {
    "r": 222,
    "g": 241,
    "b": 90
  },
  "hsl": {
    "h": 67.55,
    "s": 84.358,
    "l": 64.902
  },
  "oklch": {
    "l": 0.91631,
    "c": 0.17308,
    "h": 116
  },
  "luminance": 0.79178
}

Semantic roles & 50–950 ramp

primary
#DEF15A
secondary
#4331BE
accent
#05E120
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF15A

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

Preview Lab → · Contrast checker → · Palette generator →

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