#DEF672#DEF672

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

Color values

HEX#DEF672
RGBrgb(222, 246, 114)
HSLhsl(71, 88%, 71%)
HSVhsv(71, 54%, 96%)
CMYKcmyk(9.8%, 0%, 53.7%, 3.5%)
CIE-LABlab(92.86, -26.21, 59.93)
CIE-LCHlch(92.86, 65.41, 113.62°)
OKLaboklab(92.94% -0.0752 0.1404)
OKLCHoklch(92.94% 0.159 118.2)
XYZxyz(66.1181, 82.6565, 28.3875)
Luminance0.8266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF672 #8A72F6
analogous
#F6CC72 #DEF672 #9CF672
triadic
#DEF672 #72DEF6 #F672DE
tetradic
#DEF672 #72F6CC #8A72F6 #F6729C
square
#DEF672 #72F6CC #8A72F6 #F6729C
split-complementary
#DEF672 #729CF6 #CC72F6
monochromatic
#B9DF0E #D1F238 #DEF672 #EBFAAC #F8FDE2

Accessibility & contrast

On white

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

On black

17.53
#DEF672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF672
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF672#FFFFFF#000000##000000
##DEF6721.001.2017.5317.53
#FFFFFF1.201.0021.0021.00
#00000017.5321.001.001.00
##00000017.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA65
Deuteranopia (green-blind)
#FFEB7A
Tritanopia (blue-blind)
#E9EAD9
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #def672;
/* rgb */ color: rgb(222, 246, 114);
/* oklch */ color: oklch(92.9% 0.159 118.2);
Tailwind
colors: {
  custom: {
    50: '#eaf99e',
    500: '#def672',
    950: '#000000',
  },
}
SCSS
$custom: #def672;
$custom-light: #eaf99e;
$custom-dark: #000000;
JSON
{
  "hex": "#def672",
  "rgb": {
    "r": 222,
    "g": 246,
    "b": 114
  },
  "hsl": {
    "h": 70.909,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92941,
    "c": 0.15925,
    "h": 118.2
  },
  "luminance": 0.82656
}

Semantic roles & 50–950 ramp

primary
#DEF672
secondary
#573CD1
accent
#01E52A
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF672

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

Preview Lab → · Contrast checker → · Palette generator →

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