#DEF15C#DEF15C

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

Color values

HEX#DEF15C
RGBrgb(222, 241, 92)
HSLhsl(68, 84%, 65%)
HSVhsv(68, 62%, 95%)
CMYKcmyk(7.9%, 0%, 61.8%, 5.5%)
CIE-LABlab(91.33, -25.50, 67.57)
CIE-LCHlch(91.33, 72.23, 110.68°)
OKLaboklab(91.65% -0.0753 0.1542)
OKLCHoklch(91.65% 0.172 116)
XYZxyz(63.5126, 79.2137, 22.0671)
Luminance0.7921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF15C #6F5CF1
analogous
#F1B95C #DEF15C #93F15C
triadic
#DEF15C #5CDEF1 #F15CDE
tetradic
#DEF15C #5CF1B9 #6F5CF1 #F15C93
square
#DEF15C #5CF1B9 #6F5CF1 #F15C93
split-complementary
#DEF15C #5C93F1 #B95CF1
monochromatic
#ABC211 #D3EC24 #DEF15C #E9F694 #F5FBCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEF15C#FFFFFF#000000##000000
##DEF15C1.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)
#FFE549
Deuteranopia (green-blind)
#FFE766
Tritanopia (blue-blind)
#EBE4D2
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #def15c;
/* rgb */ color: rgb(222, 241, 92);
/* oklch */ color: oklch(91.6% 0.172 116.0);
Tailwind
colors: {
  custom: {
    50: '#ebf590',
    500: '#def15c',
    950: '#000000',
  },
}
SCSS
$custom: #def15c;
$custom-light: #ebf590;
$custom-dark: #000000;
JSON
{
  "hex": "#def15c",
  "rgb": {
    "r": 222,
    "g": 241,
    "b": 92
  },
  "hsl": {
    "h": 67.651,
    "s": 84.181,
    "l": 65.294
  },
  "oklch": {
    "l": 0.91648,
    "c": 0.17158,
    "h": 116
  },
  "luminance": 0.79213
}

Semantic roles & 50–950 ramp

primary
#DEF15C
secondary
#4432C0
accent
#05E121
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF15C

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

Preview Lab → · Contrast checker → · Palette generator →

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