#DAF372#DAF372

#DAF372 is a very light, vivid yellow-green. Relative luminance 0.802; OKLCH L 92.0% C 0.157 H 118.7°. Best body text is #000000 at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#DAF372
RGBrgb(218, 243, 114)
HSLhsl(72, 84%, 70%)
HSVhsv(72, 53%, 95%)
CMYKcmyk(10.3%, 0%, 53.1%, 4.7%)
CIE-LABlab(91.78, -26.34, 58.61)
CIE-LCHlch(91.78, 64.25, 114.20°)
OKLaboklab(92.01% -0.0754 0.1376)
OKLCHoklch(92.01% 0.157 118.7)
XYZxyz(64.0021, 80.2219, 28.0290)
Luminance0.8022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF372 #8B72F3
analogous
#F3CC72 #DAF372 #99F372
triadic
#DAF372 #72DAF3 #F372DA
tetradic
#DAF372 #72F3CC #8B72F3 #F37299
square
#DAF372 #72F3CC #8B72F3 #F37299
split-complementary
#DAF372 #7299F3 #CC72F3
monochromatic
#B2D812 #CBEE3A #DAF372 #E9F8AA #F8FDE3

Accessibility & contrast

On white

1.23
#DAF372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.04
#DAF372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF372
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF372#FFFFFF#000000##000000
##DAF3721.001.2317.0417.04
#FFFFFF1.231.0021.0021.00
#00000017.0421.001.001.00
##00000017.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE765
Deuteranopia (green-blind)
#FEE87A
Tritanopia (blue-blind)
#E5E8D6
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #daf372;
/* rgb */ color: rgb(218, 243, 114);
/* oklch */ color: oklch(92.0% 0.157 118.7);
Tailwind
colors: {
  custom: {
    50: '#e8f79e',
    500: '#daf372',
    950: '#000000',
  },
}
SCSS
$custom: #daf372;
$custom-light: #e8f79e;
$custom-dark: #000000;
JSON
{
  "hex": "#daf372",
  "rgb": {
    "r": 218,
    "g": 243,
    "b": 114
  },
  "hsl": {
    "h": 71.628,
    "s": 84.314,
    "l": 70
  },
  "oklch": {
    "l": 0.92006,
    "c": 0.15686,
    "h": 118.7
  },
  "luminance": 0.80222
}

Semantic roles & 50–950 ramp

primary
#DAF372
secondary
#583CCD
accent
#05E12F
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16170F
muted
#848580

Preview Lab

Preview with #DAF372

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

Preview Lab → · Contrast checker → · Palette generator →

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