#DEF372#DEF372

#DEF372 is a very light, vivid yellow. Relative luminance 0.808; OKLCH L 92.3% C 0.156 H 117.2°. Best body text is #000000 at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#DEF372
RGBrgb(222, 243, 114)
HSLhsl(70, 84%, 70%)
HSVhsv(70, 53%, 95%)
CMYKcmyk(8.6%, 0%, 53.1%, 4.7%)
CIE-LABlab(92.06, -24.79, 59.00)
CIE-LCHlch(92.06, 64.00, 112.79°)
OKLaboklab(92.3% -0.0712 0.1384)
OKLCHoklch(92.3% 0.156 117.2)
XYZxyz(65.2130, 80.8463, 28.0858)
Luminance0.8085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF372 #8772F3
analogous
#F3C772 #DEF372 #9EF372
triadic
#DEF372 #72DEF3 #F372DE
tetradic
#DEF372 #72F3C7 #8772F3 #F3729E
square
#DEF372 #72F3C7 #8772F3 #F3729E
split-complementary
#DEF372 #729EF3 #C772F3
monochromatic
#B8D812 #D1EE3A #DEF372 #EBF8AA #F8FDE3

Accessibility & contrast

On white

1.22
#DEF372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.17
#DEF372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF372
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF372#FFFFFF#000000##000000
##DEF3721.001.2217.1717.17
#FFFFFF1.221.0021.0021.00
#00000017.1721.001.001.00
##00000017.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE865
Deuteranopia (green-blind)
#FFE979
Tritanopia (blue-blind)
#E9E7D6
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #def372;
/* rgb */ color: rgb(222, 243, 114);
/* oklch */ color: oklch(92.3% 0.156 117.2);
Tailwind
colors: {
  custom: {
    50: '#eaf79e',
    500: '#def372',
    950: '#000000',
  },
}
SCSS
$custom: #def372;
$custom-light: #eaf79e;
$custom-dark: #000000;
JSON
{
  "hex": "#def372",
  "rgb": {
    "r": 222,
    "g": 243,
    "b": 114
  },
  "hsl": {
    "h": 69.767,
    "s": 84.314,
    "l": 70
  },
  "oklch": {
    "l": 0.92299,
    "c": 0.15563,
    "h": 117.2
  },
  "luminance": 0.80846
}

Semantic roles & 50–950 ramp

primary
#DEF372
secondary
#543CCD
accent
#05E129
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF372

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

Preview Lab → · Contrast checker → · Palette generator →

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