#DEF07E#DEF07E

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

Color values

HEX#DEF07E
RGBrgb(222, 240, 126)
HSLhsl(69, 79%, 72%)
HSVhsv(69, 48%, 94%)
CMYKcmyk(7.5%, 0%, 47.5%, 5.9%)
CIE-LABlab(91.40, -22.28, 52.71)
CIE-LCHlch(91.40, 57.23, 112.91°)
OKLaboklab(91.81% -0.063 0.1257)
OKLCHoklch(91.81% 0.141 116.6)
XYZxyz(65.0509, 79.3568, 31.6251)
Luminance0.7936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF07E #907EF0
analogous
#F0C97E #DEF07E #A5F07E
triadic
#DEF07E #7EDEF0 #F07EDE
tetradic
#DEF07E #7EF0C9 #907EF0 #F07EA5
square
#DEF07E #7EF0C9 #907EF0 #F07EA5
split-complementary
#DEF07E #7EA5F0 #C97EF0
monochromatic
#BCDA19 #D0EA47 #DEF07E #ECF6B5 #F8FCE4

Accessibility & contrast

On white

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

On black

16.87
#DEF07E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF07E
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF07E#FFFFFF#000000##000000
##DEF07E1.001.2416.8716.87
#FFFFFF1.241.0021.0021.00
#00000016.8721.001.001.00
##00000016.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def07e;
/* rgb */ color: rgb(222, 240, 126);
/* oklch */ color: oklch(91.8% 0.141 116.6);
Tailwind
colors: {
  custom: {
    50: '#eaf4a6',
    500: '#def07e',
    950: '#000000',
  },
}
SCSS
$custom: #def07e;
$custom-light: #eaf4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#def07e",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 126
  },
  "hsl": {
    "h": 69.474,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.91807,
    "c": 0.1406,
    "h": 116.6
  },
  "luminance": 0.79356
}

Semantic roles & 50–950 ramp

primary
#DEF07E
secondary
#5C48CA
accent
#0ADB2B
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF07E

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

Preview Lab → · Contrast checker → · Palette generator →

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