#DAF172#DAF172

#DAF172 is a very light, vivid yellow-green. Relative luminance 0.790; OKLCH L 91.6% C 0.154 H 118.1°. Best body text is #000000 at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#DAF172
RGBrgb(218, 241, 114)
HSLhsl(71, 82%, 70%)
HSVhsv(71, 53%, 95%)
CMYKcmyk(9.5%, 0%, 52.7%, 5.5%)
CIE-LABlab(91.25, -25.39, 57.99)
CIE-LCHlch(91.25, 63.30, 113.65°)
OKLaboklab(91.58% -0.0727 0.1362)
OKLCHoklch(91.58% 0.154 118.1)
XYZxyz(63.4068, 79.0314, 27.8306)
Luminance0.7903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF172 #8972F1
analogous
#F1C872 #DAF172 #9BF172
triadic
#DAF172 #72DAF1 #F172DA
tetradic
#DAF172 #72F1C8 #8972F1 #F1729B
square
#DAF172 #72F1C8 #8972F1 #F1729B
split-complementary
#DAF172 #729BF1 #C872F1
monochromatic
#B1D415 #CBEB3A #DAF172 #E9F7AA #F7FCE1

Accessibility & contrast

On white

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

On black

16.81
#DAF172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF172
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF172#FFFFFF#000000##000000
##DAF1721.001.2516.8116.81
#FFFFFF1.251.0021.0021.00
#00000016.8121.001.001.00
##00000016.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE666
Deuteranopia (green-blind)
#FCE779
Tritanopia (blue-blind)
#E5E6D5
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #daf172;
/* rgb */ color: rgb(218, 241, 114);
/* oklch */ color: oklch(91.6% 0.154 118.1);
Tailwind
colors: {
  custom: {
    50: '#e8f59e',
    500: '#daf172',
    950: '#000000',
  },
}
SCSS
$custom: #daf172;
$custom-light: #e8f59e;
$custom-dark: #000000;
JSON
{
  "hex": "#daf172",
  "rgb": {
    "r": 218,
    "g": 241,
    "b": 114
  },
  "hsl": {
    "h": 70.866,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.91576,
    "c": 0.15441,
    "h": 118.1
  },
  "luminance": 0.79031
}

Semantic roles & 50–950 ramp

primary
#DAF172
secondary
#563DCA
accent
#07DE2E
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16170F
muted
#848580

Preview Lab

Preview with #DAF172

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

Preview Lab → · Contrast checker → · Palette generator →

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