#DAF276#DAF276

#DAF276 is a very light, vivid yellow-green. Relative luminance 0.797; OKLCH L 91.8% C 0.152 H 118.6°. Best body text is #000000 at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#DAF276
RGBrgb(218, 242, 118)
HSLhsl(72, 83%, 71%)
HSVhsv(72, 51%, 95%)
CMYKcmyk(9.9%, 0%, 51.2%, 5.1%)
CIE-LABlab(91.56, -25.51, 56.54)
CIE-LCHlch(91.56, 62.03, 114.29°)
OKLaboklab(91.84% -0.0727 0.1334)
OKLCHoklch(91.84% 0.152 118.6)
XYZxyz(63.9363, 79.7181, 29.1549)
Luminance0.7972 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF276 #8E76F2
analogous
#F2CC76 #DAF276 #9CF276
triadic
#DAF276 #76DAF2 #F276DA
tetradic
#DAF276 #76F2CC #8E76F2 #F2769C
square
#DAF276 #76F2CC #8E76F2 #F2769C
split-complementary
#DAF276 #769CF2 #CC76F2
monochromatic
#B3D915 #CBED3E #DAF276 #E9F7AE #F7FCE3

Accessibility & contrast

On white

1.24
#DAF276 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.94
#DAF276 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF276
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF276#FFFFFF#000000##000000
##DAF2761.001.2416.9416.94
#FFFFFF1.241.0021.0021.00
#00000016.9421.001.001.00
##00000016.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76A
Deuteranopia (green-blind)
#FDE77D
Tritanopia (blue-blind)
#E5E7D6
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #daf276;
/* rgb */ color: rgb(218, 242, 118);
/* oklch */ color: oklch(91.8% 0.152 118.6);
Tailwind
colors: {
  custom: {
    50: '#e7f6a0',
    500: '#daf276',
    950: '#000000',
  },
}
SCSS
$custom: #daf276;
$custom-light: #e7f6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#daf276",
  "rgb": {
    "r": 218,
    "g": 242,
    "b": 118
  },
  "hsl": {
    "h": 71.613,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91838,
    "c": 0.15195,
    "h": 118.6
  },
  "luminance": 0.79718
}

Semantic roles & 50–950 ramp

primary
#DAF276
secondary
#5B40CC
accent
#06DF30
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16170F
muted
#848580

Preview Lab

Preview with #DAF276

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

Preview Lab → · Contrast checker → · Palette generator →

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