#DEF150#DEF150

#DEF150 is a very light, vivid yellow. Relative luminance 0.790; OKLCH L 91.5% C 0.180 H 115.9°. Best body text is #000000 at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#DEF150
RGBrgb(222, 241, 80)
HSLhsl(67, 85%, 63%)
HSVhsv(67, 67%, 95%)
CMYKcmyk(7.9%, 0%, 66.8%, 5.5%)
CIE-LABlab(91.24, -26.24, 72.13)
CIE-LCHlch(91.24, 76.75, 109.99°)
OKLaboklab(91.55% -0.0785 0.1621)
OKLCHoklch(91.55% 0.18 115.9)
XYZxyz(63.0290, 79.0203, 19.5200)
Luminance0.7902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF150 #6350F1
analogous
#F1B450 #DEF150 #8DF150
triadic
#DEF150 #50DEF1 #F150DE
tetradic
#DEF150 #50F1B4 #6350F1 #F1508D
square
#DEF150 #50F1B4 #6350F1 #F1508D
split-complementary
#DEF150 #508DF1 #B450F1
monochromatic
#A4B80F #D3EC17 #DEF150 #E9F689 #F3FAC1

Accessibility & contrast

On white

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

On black

16.80
#DEF150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF150
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF150#FFFFFF#000000##000000
##DEF1501.001.2516.8016.80
#FFFFFF1.251.0021.0021.00
#00000016.8021.001.001.00
##00000016.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE538
Deuteranopia (green-blind)
#FFE75C
Tritanopia (blue-blind)
#ECE4D1
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #def150;
/* rgb */ color: rgb(222, 241, 80);
/* oklch */ color: oklch(91.5% 0.180 115.9);
Tailwind
colors: {
  custom: {
    50: '#ecf58a',
    500: '#def150',
    950: '#000000',
  },
}
SCSS
$custom: #def150;
$custom-light: #ecf58a;
$custom-dark: #000000;
JSON
{
  "hex": "#def150",
  "rgb": {
    "r": 222,
    "g": 241,
    "b": 80
  },
  "hsl": {
    "h": 67.081,
    "s": 85.185,
    "l": 62.941
  },
  "oklch": {
    "l": 0.9155,
    "c": 0.18008,
    "h": 115.9
  },
  "luminance": 0.79019
}

Semantic roles & 50–950 ramp

primary
#DEF150
secondary
#3E2EB7
accent
#04E21E
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170C
muted
#85857F

Preview Lab

Preview with #DEF150

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

Preview Lab → · Contrast checker → · Palette generator →

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