#DEF073#DEF073

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

Color values

HEX#DEF073
RGBrgb(222, 240, 115)
HSLhsl(69, 81%, 70%)
HSVhsv(69, 52%, 94%)
CMYKcmyk(7.5%, 0%, 52.1%, 5.9%)
CIE-LABlab(91.27, -23.28, 57.64)
CIE-LCHlch(91.27, 62.16, 111.99°)
OKLaboklab(91.67% -0.0669 0.1355)
OKLCHoklch(91.67% 0.151 116.3)
XYZxyz(64.3798, 79.0883, 28.0904)
Luminance0.7909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF073 #8573F0
analogous
#F0C473 #DEF073 #A0F073
triadic
#DEF073 #73DEF0 #F073DE
tetradic
#DEF073 #73F0C4 #8573F0 #F073A0
square
#DEF073 #73F0C4 #8573F0 #F073A0
split-complementary
#DEF073 #73A0F0 #C473F0
monochromatic
#B7D217 #D1EA3C #DEF073 #EBF6AA #F8FCE2

Accessibility & contrast

On white

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

On black

16.82
#DEF073 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF073
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF073#FFFFFF#000000##000000
##DEF0731.001.2516.8216.82
#FFFFFF1.251.0021.0021.00
#00000016.8221.001.001.00
##00000016.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def073;
/* rgb */ color: rgb(222, 240, 115);
/* oklch */ color: oklch(91.7% 0.151 116.3);
Tailwind
colors: {
  custom: {
    50: '#eaf49e',
    500: '#def073',
    950: '#000000',
  },
}
SCSS
$custom: #def073;
$custom-light: #eaf49e;
$custom-dark: #000000;
JSON
{
  "hex": "#def073",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 115
  },
  "hsl": {
    "h": 68.64,
    "s": 80.645,
    "l": 69.608
  },
  "oklch": {
    "l": 0.9167,
    "c": 0.1511,
    "h": 116.3
  },
  "luminance": 0.79088
}

Semantic roles & 50–950 ramp

primary
#DEF073
secondary
#523EC9
accent
#09DD27
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF073

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

Preview Lab → · Contrast checker → · Palette generator →

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