#DEF07F#DEF07F

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

Color values

HEX#DEF07F
RGBrgb(222, 240, 127)
HSLhsl(70, 79%, 72%)
HSVhsv(70, 47%, 94%)
CMYKcmyk(7.5%, 0%, 47.1%, 5.9%)
CIE-LABlab(91.41, -22.18, 52.26)
CIE-LCHlch(91.41, 56.77, 113.00°)
OKLaboklab(91.82% -0.0627 0.1247)
OKLCHoklch(91.82% 0.14 116.7)
XYZxyz(65.1158, 79.3827, 31.9666)
Luminance0.7938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF07F #917FF0
analogous
#F0CA7F #DEF07F #A5F07F
triadic
#DEF07F #7FDEF0 #F07FDE
tetradic
#DEF07F #7FF0CA #917FF0 #F07FA5
square
#DEF07F #7FF0CA #917FF0 #F07FA5
split-complementary
#DEF07F #7FA5F0 #CA7FF0
monochromatic
#BCDB1A #D0EA48 #DEF07F #ECF6B6 #F8FCE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEF07F#FFFFFF#000000##000000
##DEF07F1.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)
#FDE675
Deuteranopia (green-blind)
#FCE785
Tritanopia (blue-blind)
#E9E5D6
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #def07f;
/* rgb */ color: rgb(222, 240, 127);
/* oklch */ color: oklch(91.8% 0.140 116.7);
Tailwind
colors: {
  custom: {
    50: '#eaf4a6',
    500: '#def07f',
    950: '#000000',
  },
}
SCSS
$custom: #def07f;
$custom-light: #eaf4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#def07f",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 127
  },
  "hsl": {
    "h": 69.558,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.9182,
    "c": 0.13961,
    "h": 116.7
  },
  "luminance": 0.79382
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DEF07F

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

Preview Lab → · Contrast checker → · Palette generator →

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