#DEF071#DEF071

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

Color values

HEX#DEF071
RGBrgb(222, 240, 113)
HSLhsl(69, 81%, 69%)
HSVhsv(69, 53%, 94%)
CMYKcmyk(7.5%, 0%, 52.9%, 5.9%)
CIE-LABlab(91.25, -23.45, 58.51)
CIE-LCHlch(91.25, 63.04, 111.84°)
OKLaboklab(91.65% -0.0675 0.1372)
OKLCHoklch(91.65% 0.153 116.2)
XYZxyz(64.2659, 79.0428, 27.4908)
Luminance0.7904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF071 #8371F0
analogous
#F0C371 #DEF071 #9FF071
triadic
#DEF071 #71DEF0 #F071DE
tetradic
#DEF071 #71F0C3 #8371F0 #F0719F
square
#DEF071 #71F0C3 #8371F0 #F0719F
split-complementary
#DEF071 #719FF0 #C371F0
monochromatic
#B6D116 #D1EA3A #DEF071 #EBF6A8 #F8FCE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEF071#FFFFFF#000000##000000
##DEF0711.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)
#FEE565
Deuteranopia (green-blind)
#FDE778
Tritanopia (blue-blind)
#EAE4D4
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #def071;
/* rgb */ color: rgb(222, 240, 113);
/* oklch */ color: oklch(91.6% 0.153 116.2);
Tailwind
colors: {
  custom: {
    50: '#eaf49d',
    500: '#def071',
    950: '#000000',
  },
}
SCSS
$custom: #def071;
$custom-light: #eaf49d;
$custom-dark: #000000;
JSON
{
  "hex": "#def071",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 113
  },
  "hsl": {
    "h": 68.504,
    "s": 80.892,
    "l": 69.216
  },
  "oklch": {
    "l": 0.91647,
    "c": 0.15293,
    "h": 116.2
  },
  "luminance": 0.79042
}

Semantic roles & 50–950 ramp

primary
#DEF071
secondary
#503CC9
accent
#08DD26
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF071

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

Preview Lab → · Contrast checker → · Palette generator →

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