#DEF158#DEF158

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

Color values

HEX#DEF158
RGBrgb(222, 241, 88)
HSLhsl(67, 85%, 65%)
HSVhsv(67, 63%, 95%)
CMYKcmyk(7.9%, 0%, 63.5%, 5.5%)
CIE-LABlab(91.30, -25.76, 69.14)
CIE-LCHlch(91.30, 73.78, 110.44°)
OKLaboklab(91.61% -0.0765 0.1569)
OKLCHoklch(91.61% 0.175 116)
XYZxyz(63.3424, 79.1456, 21.1704)
Luminance0.7914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF158 #6B58F1
analogous
#F1B858 #DEF158 #92F158
triadic
#DEF158 #58DEF1 #F158DE
tetradic
#DEF158 #58F1B8 #6B58F1 #F15892
square
#DEF158 #58F1B8 #6B58F1 #F15892
split-complementary
#DEF158 #5892F1 #B858F1
monochromatic
#A9BF10 #D3EC20 #DEF158 #E9F690 #F4FAC9

Accessibility & contrast

On white

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

On black

16.83
#DEF158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF158
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF158#FFFFFF#000000##000000
##DEF1581.001.2516.8316.83
#FFFFFF1.251.0021.0021.00
#00000016.8321.001.001.00
##00000016.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def158;
/* rgb */ color: rgb(222, 241, 88);
/* oklch */ color: oklch(91.6% 0.175 116.0);
Tailwind
colors: {
  custom: {
    50: '#ebf58e',
    500: '#def158',
    950: '#000000',
  },
}
SCSS
$custom: #def158;
$custom-light: #ebf58e;
$custom-dark: #000000;
JSON
{
  "hex": "#def158",
  "rgb": {
    "r": 222,
    "g": 241,
    "b": 88
  },
  "hsl": {
    "h": 67.451,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.91614,
    "c": 0.17454,
    "h": 116
  },
  "luminance": 0.79145
}

Semantic roles & 50–950 ramp

primary
#DEF158
secondary
#4230BD
accent
#05E120
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF158

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

Preview Lab → · Contrast checker → · Palette generator →

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