#DEF07A#DEF07A

#DEF07A is a very light, vivid yellow. Relative luminance 0.793; OKLCH L 91.8% C 0.145 H 116.5°. Best body text is #000000 at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#DEF07A
RGBrgb(222, 240, 122)
HSLhsl(69, 80%, 71%)
HSVhsv(69, 49%, 94%)
CMYKcmyk(7.5%, 0%, 49.2%, 5.9%)
CIE-LABlab(91.35, -22.66, 54.52)
CIE-LCHlch(91.35, 59.04, 112.56°)
OKLaboklab(91.76% -0.0645 0.1293)
OKLCHoklch(91.76% 0.145 116.5)
XYZxyz(64.7980, 79.2556, 30.2929)
Luminance0.7925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF07A #8C7AF0
analogous
#F0C77A #DEF07A #A3F07A
triadic
#DEF07A #7ADEF0 #F07ADE
tetradic
#DEF07A #7AF0C7 #8C7AF0 #F07AA3
square
#DEF07A #7AF0C7 #8C7AF0 #F07AA3
split-complementary
#DEF07A #7AA3F0 #C77AF0
monochromatic
#BAD718 #D0EA43 #DEF07A #ECF6B1 #F8FCE4

Accessibility & contrast

On white

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

On black

16.85
#DEF07A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF07A
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF07A#FFFFFF#000000##000000
##DEF07A1.001.2516.8516.85
#FFFFFF1.251.0021.0021.00
#00000016.8521.001.001.00
##00000016.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE66F
Deuteranopia (green-blind)
#FCE780
Tritanopia (blue-blind)
#E9E5D5
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #def07a;
/* rgb */ color: rgb(222, 240, 122);
/* oklch */ color: oklch(91.8% 0.145 116.5);
Tailwind
colors: {
  custom: {
    50: '#eaf4a3',
    500: '#def07a',
    950: '#000000',
  },
}
SCSS
$custom: #def07a;
$custom-light: #eaf4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#def07a",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 122
  },
  "hsl": {
    "h": 69.153,
    "s": 79.73,
    "l": 70.98
  },
  "oklch": {
    "l": 0.91755,
    "c": 0.14451,
    "h": 116.5
  },
  "luminance": 0.79255
}

Semantic roles & 50–950 ramp

primary
#DEF07A
secondary
#5944CA
accent
#09DC2A
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF07A

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

Preview Lab → · Contrast checker → · Palette generator →

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