#DEF154#DEF154

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

Color values

HEX#DEF154
RGBrgb(222, 241, 84)
HSLhsl(67, 85%, 64%)
HSVhsv(67, 65%, 95%)
CMYKcmyk(7.9%, 0%, 65.1%, 5.5%)
CIE-LABlab(91.27, -26.01, 70.65)
CIE-LCHlch(91.27, 75.29, 110.21°)
OKLaboklab(91.58% -0.0775 0.1595)
OKLCHoklch(91.58% 0.177 115.9)
XYZxyz(63.1812, 79.0812, 20.3216)
Luminance0.7908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF154 #6754F1
analogous
#F1B554 #DEF154 #8FF154
triadic
#DEF154 #54DEF1 #F154DE
tetradic
#DEF154 #54F1B5 #6754F1 #F1548F
square
#DEF154 #54F1B5 #6754F1 #F1548F
split-complementary
#DEF154 #548FF1 #B554F1
monochromatic
#A6BB0F #D3EC1B #DEF154 #E9F68D #F4FAC5

Accessibility & contrast

On white

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

On black

16.82
#DEF154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF154
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF154#FFFFFF#000000##000000
##DEF1541.001.2516.8216.82
#FFFFFF1.251.0021.0021.00
#00000016.8221.001.001.00
##00000016.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE53E
Deuteranopia (green-blind)
#FFE75F
Tritanopia (blue-blind)
#EBE4D1
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #def154;
/* rgb */ color: rgb(222, 241, 84);
/* oklch */ color: oklch(91.6% 0.177 115.9);
Tailwind
colors: {
  custom: {
    50: '#ecf58c',
    500: '#def154',
    950: '#000000',
  },
}
SCSS
$custom: #def154;
$custom-light: #ecf58c;
$custom-dark: #000000;
JSON
{
  "hex": "#def154",
  "rgb": {
    "r": 222,
    "g": 241,
    "b": 84
  },
  "hsl": {
    "h": 67.261,
    "s": 84.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.91581,
    "c": 0.17737,
    "h": 115.9
  },
  "luminance": 0.7908
}

Semantic roles & 50–950 ramp

primary
#DEF154
secondary
#402FBA
accent
#04E11F
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF154

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

Preview Lab → · Contrast checker → · Palette generator →

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