#DAF271#DAF271

#DAF271 is a very light, vivid yellow-green. Relative luminance 0.796; OKLCH L 91.8% C 0.157 H 118.4°. Best body text is #000000 at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#DAF271
RGBrgb(218, 242, 113)
HSLhsl(71, 83%, 70%)
HSVhsv(71, 53%, 95%)
CMYKcmyk(9.9%, 0%, 53.3%, 5.1%)
CIE-LABlab(91.51, -25.95, 58.73)
CIE-LCHlch(91.51, 64.21, 113.84°)
OKLaboklab(91.78% -0.0744 0.1377)
OKLCHoklch(91.78% 0.157 118.4)
XYZxyz(63.6470, 79.6024, 27.6314)
Luminance0.7960 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF271 #8971F2
analogous
#F2CA71 #DAF271 #9AF271
triadic
#DAF271 #71DAF2 #F271DA
tetradic
#DAF271 #71F2CA #8971F2 #F2719A
square
#DAF271 #71F2CA #8971F2 #F2719A
split-complementary
#DAF271 #719AF2 #CA71F2
monochromatic
#B1D514 #CBED39 #DAF271 #E9F7A9 #F7FCE1

Accessibility & contrast

On white

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

On black

16.92
#DAF271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF271
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF271#FFFFFF#000000##000000
##DAF2711.001.2416.9216.92
#FFFFFF1.241.0021.0021.00
#00000016.9221.001.001.00
##00000016.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE664
Deuteranopia (green-blind)
#FDE779
Tritanopia (blue-blind)
#E5E7D5
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #daf271;
/* rgb */ color: rgb(218, 242, 113);
/* oklch */ color: oklch(91.8% 0.157 118.4);
Tailwind
colors: {
  custom: {
    50: '#e8f69d',
    500: '#daf271',
    950: '#000000',
  },
}
SCSS
$custom: #daf271;
$custom-light: #e8f69d;
$custom-dark: #000000;
JSON
{
  "hex": "#daf271",
  "rgb": {
    "r": 218,
    "g": 242,
    "b": 113
  },
  "hsl": {
    "h": 71.163,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.91779,
    "c": 0.15653,
    "h": 118.4
  },
  "luminance": 0.79602
}

Semantic roles & 50–950 ramp

primary
#DAF271
secondary
#563CCB
accent
#06E02E
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16170F
muted
#848580

Preview Lab

Preview with #DAF271

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

Preview Lab → · Contrast checker → · Palette generator →

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