#DAFA56#DAFA56

#DAFA56 is a very light, vivid yellow-green. Relative luminance 0.839; OKLCH L 93.2% C 0.187 H 119.7°. Best body text is #000000 at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#DAFA56
RGBrgb(218, 250, 86)
HSLhsl(72, 94%, 66%)
HSVhsv(72, 66%, 98%)
CMYKcmyk(12.8%, 0%, 65.6%, 2%)
CIE-LABlab(93.43, -31.66, 72.04)
CIE-LCHlch(93.43, 78.69, 113.72°)
OKLaboklab(93.25% -0.0928 0.1628)
OKLCHoklch(93.25% 0.187 119.7)
XYZxyz(64.7799, 83.9488, 21.5934)
Luminance0.8395 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFA56 #7656FA
analogous
#FAC856 #DAFA56 #88FA56
triadic
#DAFA56 #56DAFA #FA56DA
tetradic
#DAFA56 #56FAC8 #7656FA #FA5688
square
#DAFA56 #56FAC8 #7656FA #FA5688
split-complementary
#DAFA56 #5688FA #C856FA
monochromatic
#A8CF06 #CDF81B #DAFA56 #E7FC91 #F4FECD

Accessibility & contrast

On white

1.18
#DAFA56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.79
#DAFA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFA56
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFA56#FFFFFF#000000##000000
##DAFA561.001.1817.7917.79
#FFFFFF1.181.0021.0021.00
#00000017.7921.001.001.00
##00000017.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC3F
Deuteranopia (green-blind)
#FFED62
Tritanopia (blue-blind)
#E6EDD9
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #dafa56;
/* rgb */ color: rgb(218, 250, 86);
/* oklch */ color: oklch(93.2% 0.187 119.7);
Tailwind
colors: {
  custom: {
    50: '#e9fc8e',
    500: '#dafa56',
    950: '#000000',
  },
}
SCSS
$custom: #dafa56;
$custom-light: #e9fc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#dafa56",
  "rgb": {
    "r": 218,
    "g": 250,
    "b": 86
  },
  "hsl": {
    "h": 71.707,
    "s": 94.253,
    "l": 65.882
  },
  "oklch": {
    "l": 0.93249,
    "c": 0.18743,
    "h": 119.7
  },
  "luminance": 0.83949
}

Semantic roles & 50–950 ramp

primary
#DAFA56
secondary
#492ACB
accent
#00E62D
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #DAFA56

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

Preview Lab → · Contrast checker → · Palette generator →

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