#DAFB5F#DAFB5F

#DAFB5F is a very light, vivid yellow-green. Relative luminance 0.847; OKLCH L 93.5% C 0.182 H 120.2°. Best body text is #000000 at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#DAFB5F
RGBrgb(218, 251, 95)
HSLhsl(73, 95%, 68%)
HSVhsv(73, 62%, 98%)
CMYKcmyk(13.1%, 0%, 62.2%, 1.6%)
CIE-LABlab(93.77, -31.53, 68.89)
CIE-LCHlch(93.77, 75.77, 114.59°)
OKLaboklab(93.54% -0.0917 0.1574)
OKLCHoklch(93.54% 0.182 120.2)
XYZxyz(65.4771, 84.7262, 23.7286)
Luminance0.8473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFB5F #805FFB
analogous
#FBCE5F #DAFB5F #8CFB5F
triadic
#DAFB5F #5FDAFB #FB5FDA
tetradic
#DAFB5F #5FFBCE #805FFB #FB5F8C
square
#DAFB5F #5FFBCE #805FFB #FB5F8C
split-complementary
#DAFB5F #5F8CFB #CE5FFB
monochromatic
#ADDA05 #CCFA23 #DAFB5F #E8FC9B #F6FED6

Accessibility & contrast

On white

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

On black

17.95
#DAFB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFB5F
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFB5F#FFFFFF#000000##000000
##DAFB5F1.001.1717.9517.95
#FFFFFF1.171.0021.0021.00
#00000017.9521.001.001.00
##00000017.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED4B
Deuteranopia (green-blind)
#FFED6A
Tritanopia (blue-blind)
#E5EFDB
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #dafb5f;
/* rgb */ color: rgb(218, 251, 95);
/* oklch */ color: oklch(93.5% 0.182 120.2);
Tailwind
colors: {
  custom: {
    50: '#e8fc93',
    500: '#dafb5f',
    950: '#000000',
  },
}
SCSS
$custom: #dafb5f;
$custom-light: #e8fc93;
$custom-dark: #000000;
JSON
{
  "hex": "#dafb5f",
  "rgb": {
    "r": 218,
    "g": 251,
    "b": 95
  },
  "hsl": {
    "h": 72.692,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.93542,
    "c": 0.18217,
    "h": 120.2
  },
  "luminance": 0.84726
}

Semantic roles & 50–950 ramp

primary
#DAFB5F
secondary
#4E2AD4
accent
#00E631
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170D
muted
#85857F

Preview Lab

Preview with #DAFB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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