#DEF080#DEF080

#DEF080 is a very light, vivid yellow. Relative luminance 0.794; OKLCH L 91.8% C 0.139 H 116.7°. Best body text is #000000 at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#DEF080
RGBrgb(222, 240, 128)
HSLhsl(70, 79%, 72%)
HSVhsv(70, 47%, 94%)
CMYKcmyk(7.5%, 0%, 46.7%, 5.9%)
CIE-LABlab(91.42, -22.09, 51.80)
CIE-LCHlch(91.42, 56.32, 113.09°)
OKLaboklab(91.83% -0.0623 0.1238)
OKLCHoklch(91.83% 0.139 116.7)
XYZxyz(65.1813, 79.4089, 32.3116)
Luminance0.7941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF080 #9280F0
analogous
#F0CA80 #DEF080 #A6F080
triadic
#DEF080 #80DEF0 #F080DE
tetradic
#DEF080 #80F0CA #9280F0 #F080A6
square
#DEF080 #80F0CA #9280F0 #F080A6
split-complementary
#DEF080 #80A6F0 #CA80F0
monochromatic
#BDDC1A #D0EA49 #DEF080 #ECF6B7 #F8FCE4

Accessibility & contrast

On white

1.24
#DEF080 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.88
#DEF080 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF080
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF080#FFFFFF#000000##000000
##DEF0801.001.2416.8816.88
#FFFFFF1.241.0021.0021.00
#00000016.8821.001.001.00
##00000016.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE676
Deuteranopia (green-blind)
#FBE786
Tritanopia (blue-blind)
#E9E5D6
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #def080;
/* rgb */ color: rgb(222, 240, 128);
/* oklch */ color: oklch(91.8% 0.139 116.7);
Tailwind
colors: {
  custom: {
    50: '#eaf4a7',
    500: '#def080',
    950: '#000000',
  },
}
SCSS
$custom: #def080;
$custom-light: #eaf4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#def080",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 128
  },
  "hsl": {
    "h": 69.643,
    "s": 78.873,
    "l": 72.157
  },
  "oklch": {
    "l": 0.91833,
    "c": 0.13862,
    "h": 116.7
  },
  "luminance": 0.79408
}

Semantic roles & 50–950 ramp

primary
#DEF080
secondary
#5E4ACB
accent
#0ADB2C
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#161710
muted
#858580

Preview Lab

Preview with #DEF080

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

Preview Lab → · Contrast checker → · Palette generator →

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