#DAF76B#DAF76B

#DAF76B is a very light, vivid yellow-green. Relative luminance 0.825; OKLCH L 92.8% C 0.168 H 119.6°. Best body text is #000000 at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#DAF76B
RGBrgb(218, 247, 107)
HSLhsl(72, 90%, 69%)
HSVhsv(72, 57%, 97%)
CMYKcmyk(11.7%, 0%, 56.7%, 3.1%)
CIE-LABlab(92.79, -28.79, 62.83)
CIE-LCHlch(92.79, 69.12, 114.62°)
OKLaboklab(92.79% -0.0829 0.146)
OKLCHoklch(92.79% 0.168 119.6)
XYZxyz(64.8289, 82.4888, 26.4137)
Luminance0.8249 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF76B #886BF7
analogous
#F7CE6B #DAF76B #94F76B
triadic
#DAF76B #6BDAF7 #F76BDA
tetradic
#DAF76B #6BF7CE #886BF7 #F76B94
square
#DAF76B #6BF7CE #886BF7 #F76B94
split-complementary
#DAF76B #6B94F7 #CE6BF7
monochromatic
#B1DC0C #CBF431 #DAF76B #E9FAA5 #F7FDDF

Accessibility & contrast

On white

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

On black

17.50
#DAF76B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF76B
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF76B#FFFFFF#000000##000000
##DAF76B1.001.2017.5017.50
#FFFFFF1.201.0021.0021.00
#00000017.5021.001.001.00
##00000017.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA5C
Deuteranopia (green-blind)
#FFEB74
Tritanopia (blue-blind)
#E5EBD9
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #daf76b;
/* rgb */ color: rgb(218, 247, 107);
/* oklch */ color: oklch(92.8% 0.168 119.6);
Tailwind
colors: {
  custom: {
    50: '#e8f99a',
    500: '#daf76b',
    950: '#000000',
  },
}
SCSS
$custom: #daf76b;
$custom-light: #e8f99a;
$custom-dark: #000000;
JSON
{
  "hex": "#daf76b",
  "rgb": {
    "r": 218,
    "g": 247,
    "b": 107
  },
  "hsl": {
    "h": 72.429,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.92791,
    "c": 0.16786,
    "h": 119.6
  },
  "luminance": 0.82488
}

Semantic roles & 50–950 ramp

primary
#DAF76B
secondary
#5635D1
accent
#00E630
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DAF76B

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

Preview Lab → · Contrast checker → · Palette generator →

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