#DEF072#DEF072

#DEF072 is a very light, vivid yellow. Relative luminance 0.791; OKLCH L 91.7% C 0.152 H 116.2°. Best body text is #000000 at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#DEF072
RGBrgb(222, 240, 114)
HSLhsl(69, 81%, 69%)
HSVhsv(69, 53%, 94%)
CMYKcmyk(7.5%, 0%, 52.5%, 5.9%)
CIE-LABlab(91.26, -23.36, 58.07)
CIE-LCHlch(91.26, 62.60, 111.92°)
OKLaboklab(91.66% -0.0672 0.1364)
OKLCHoklch(91.66% 0.152 116.2)
XYZxyz(64.3225, 79.0654, 27.7890)
Luminance0.7906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF072 #8472F0
analogous
#F0C372 #DEF072 #9FF072
triadic
#DEF072 #72DEF0 #F072DE
tetradic
#DEF072 #72F0C3 #8472F0 #F0729F
square
#DEF072 #72F0C3 #8472F0 #F0729F
split-complementary
#DEF072 #729FF0 #C372F0
monochromatic
#B7D116 #D1EA3B #DEF072 #EBF6A9 #F8FCE1

Accessibility & contrast

On white

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

On black

16.81
#DEF072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF072
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF072#FFFFFF#000000##000000
##DEF0721.001.2516.8116.81
#FFFFFF1.251.0021.0021.00
#00000016.8121.001.001.00
##00000016.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE566
Deuteranopia (green-blind)
#FDE779
Tritanopia (blue-blind)
#EAE4D4
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #def072;
/* rgb */ color: rgb(222, 240, 114);
/* oklch */ color: oklch(91.7% 0.152 116.2);
Tailwind
colors: {
  custom: {
    50: '#eaf49e',
    500: '#def072',
    950: '#000000',
  },
}
SCSS
$custom: #def072;
$custom-light: #eaf49e;
$custom-dark: #000000;
JSON
{
  "hex": "#def072",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 114
  },
  "hsl": {
    "h": 68.571,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.91659,
    "c": 0.15202,
    "h": 116.2
  },
  "luminance": 0.79065
}

Semantic roles & 50–950 ramp

primary
#DEF072
secondary
#513DC9
accent
#08DD27
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF072

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

Preview Lab → · Contrast checker → · Palette generator →

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