#DEF673#DEF673

#DEF673 is a very light, vivid yellow-green. Relative luminance 0.827; OKLCH L 93.0% C 0.158 H 118.2°. Best body text is #000000 at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#DEF673
RGBrgb(222, 246, 115)
HSLhsl(71, 88%, 71%)
HSVhsv(71, 53%, 96%)
CMYKcmyk(9.8%, 0%, 53.3%, 3.5%)
CIE-LABlab(92.87, -26.13, 59.50)
CIE-LCHlch(92.87, 64.98, 113.71°)
OKLaboklab(92.95% -0.0749 0.1395)
OKLCHoklch(92.95% 0.158 118.2)
XYZxyz(66.1753, 82.6794, 28.6889)
Luminance0.8268 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF673 #8B73F6
analogous
#F6CC73 #DEF673 #9CF673
triadic
#DEF673 #73DEF6 #F673DE
tetradic
#DEF673 #73F6CC #8B73F6 #F6739C
square
#DEF673 #73F6CC #8B73F6 #F6739C
split-complementary
#DEF673 #739CF6 #CC73F6
monochromatic
#BAE00E #D0F239 #DEF673 #ECFAAD #F8FDE2

Accessibility & contrast

On white

1.20
#DEF673 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.54
#DEF673 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF673
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF673#FFFFFF#000000##000000
##DEF6731.001.2017.5417.54
#FFFFFF1.201.0021.0021.00
#00000017.5421.001.001.00
##00000017.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA66
Deuteranopia (green-blind)
#FFEB7B
Tritanopia (blue-blind)
#E9EAD9
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #def673;
/* rgb */ color: rgb(222, 246, 115);
/* oklch */ color: oklch(93.0% 0.158 118.2);
Tailwind
colors: {
  custom: {
    50: '#eaf99f',
    500: '#def673',
    950: '#000000',
  },
}
SCSS
$custom: #def673;
$custom-light: #eaf99f;
$custom-dark: #000000;
JSON
{
  "hex": "#def673",
  "rgb": {
    "r": 222,
    "g": 246,
    "b": 115
  },
  "hsl": {
    "h": 70.992,
    "s": 87.919,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92952,
    "c": 0.15836,
    "h": 118.2
  },
  "luminance": 0.82679
}

Semantic roles & 50–950 ramp

primary
#DEF673
secondary
#583DD1
accent
#01E42B
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF673

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

Preview Lab → · Contrast checker → · Palette generator →

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