#DEF070#DEF070

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

Color values

HEX#DEF070
RGBrgb(222, 240, 112)
HSLhsl(68, 81%, 69%)
HSVhsv(68, 53%, 94%)
CMYKcmyk(7.5%, 0%, 53.3%, 5.9%)
CIE-LABlab(91.24, -23.53, 58.95)
CIE-LCHlch(91.24, 63.47, 111.76°)
OKLaboklab(91.64% -0.0679 0.1381)
OKLCHoklch(91.64% 0.154 116.2)
XYZxyz(64.2099, 79.0204, 27.1960)
Luminance0.7902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF070 #8270F0
analogous
#F0C270 #DEF070 #9EF070
triadic
#DEF070 #70DEF0 #F070DE
tetradic
#DEF070 #70F0C2 #8270F0 #F0709E
square
#DEF070 #70F0C2 #8270F0 #F0709E
split-complementary
#DEF070 #709EF0 #C270F0
monochromatic
#B6D016 #D1EA39 #DEF070 #EBF6A7 #F8FCDF

Accessibility & contrast

On white

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

On black

16.80
#DEF070 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF070
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF070#FFFFFF#000000##000000
##DEF0701.001.2516.8016.80
#FFFFFF1.251.0021.0021.00
#00000016.8021.001.001.00
##00000016.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def070;
/* rgb */ color: rgb(222, 240, 112);
/* oklch */ color: oklch(91.6% 0.154 116.2);
Tailwind
colors: {
  custom: {
    50: '#eaf49d',
    500: '#def070',
    950: '#000000',
  },
}
SCSS
$custom: #def070;
$custom-light: #eaf49d;
$custom-dark: #000000;
JSON
{
  "hex": "#def070",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 112
  },
  "hsl": {
    "h": 68.438,
    "s": 81.013,
    "l": 69.02
  },
  "oklch": {
    "l": 0.91636,
    "c": 0.15384,
    "h": 116.2
  },
  "luminance": 0.7902
}

Semantic roles & 50–950 ramp

primary
#DEF070
secondary
#4F3BC9
accent
#08DD26
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DEF070

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

Preview Lab → · Contrast checker → · Palette generator →

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