#DAFB71#DAFB71

#DAFB71 is a very light, vivid yellow-green. Relative luminance 0.851; OKLCH L 93.7% C 0.168 H 121.0°. Best body text is #000000 at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#DAFB71
RGBrgb(218, 251, 113)
HSLhsl(74, 95%, 71%)
HSVhsv(74, 55%, 98%)
CMYKcmyk(13.1%, 0%, 55%, 1.6%)
CIE-LABlab(93.92, -30.17, 61.52)
CIE-LCHlch(93.92, 68.52, 116.12°)
OKLaboklab(93.72% -0.0862 0.1437)
OKLCHoklch(93.72% 0.168 121)
XYZxyz(66.3919, 85.0921, 28.5464)
Luminance0.8509 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFB71 #9271FB
analogous
#FBD771 #DAFB71 #95FB71
triadic
#DAFB71 #71DAFB #FB71DA
tetradic
#DAFB71 #71FBD7 #9271FB #FB7195
square
#DAFB71 #71FBD7 #9271FB #FB7195
split-complementary
#DAFB71 #7195FB #D771FB
monochromatic
#B4EB07 #CAF935 #DAFB71 #EAFDAD #F7FEE1

Accessibility & contrast

On white

1.17
#DAFB71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.02
#DAFB71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFB71
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFB71#FFFFFF#000000##000000
##DAFB711.001.1718.0218.02
#FFFFFF1.171.0021.0021.00
#00000018.0221.001.001.00
##00000018.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE63
Deuteranopia (green-blind)
#FFEE7A
Tritanopia (blue-blind)
#E4F0DD
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #dafb71;
/* rgb */ color: rgb(218, 251, 113);
/* oklch */ color: oklch(93.7% 0.168 121.0);
Tailwind
colors: {
  custom: {
    50: '#e8fc9e',
    500: '#dafb71',
    950: '#000000',
  },
}
SCSS
$custom: #dafb71;
$custom-light: #e8fc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#dafb71",
  "rgb": {
    "r": 218,
    "g": 251,
    "b": 113
  },
  "hsl": {
    "h": 74.348,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.93719,
    "c": 0.16761,
    "h": 121
  },
  "luminance": 0.85092
}

Semantic roles & 50–950 ramp

primary
#DAFB71
secondary
#5F39D7
accent
#00E637
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DAFB71

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

Preview Lab → · Contrast checker → · Palette generator →

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