#DAFA54#DAFA54

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

Color values

HEX#DAFA54
RGBrgb(218, 250, 84)
HSLhsl(72, 94%, 65%)
HSVhsv(72, 66%, 98%)
CMYKcmyk(12.8%, 0%, 66.4%, 2%)
CIE-LABlab(93.41, -31.78, 72.77)
CIE-LCHlch(93.41, 79.41, 113.59°)
OKLaboklab(93.23% -0.0934 0.1641)
OKLCHoklch(93.23% 0.189 119.6)
XYZxyz(64.7004, 83.9171, 21.1749)
Luminance0.8392 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFA54 #7454FA
analogous
#FAC754 #DAFA54 #87FA54
triadic
#DAFA54 #54DAFA #FA54DA
tetradic
#DAFA54 #54FAC7 #7454FA #FA5487
square
#DAFA54 #54FAC7 #7454FA #FA5487
split-complementary
#DAFA54 #5487FA #C754FA
monochromatic
#A7CE06 #CDF819 #DAFA54 #E7FC8F #F4FDCB

Accessibility & contrast

On white

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

On black

17.78
#DAFA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFA54
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFA54#FFFFFF#000000##000000
##DAFA541.001.1817.7817.78
#FFFFFF1.181.0021.0021.00
#00000017.7821.001.001.00
##00000017.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dafa54;
/* rgb */ color: rgb(218, 250, 84);
/* oklch */ color: oklch(93.2% 0.189 119.6);
Tailwind
colors: {
  custom: {
    50: '#e9fc8c',
    500: '#dafa54',
    950: '#000000',
  },
}
SCSS
$custom: #dafa54;
$custom-light: #e9fc8c;
$custom-dark: #000000;
JSON
{
  "hex": "#dafa54",
  "rgb": {
    "r": 218,
    "g": 250,
    "b": 84
  },
  "hsl": {
    "h": 71.566,
    "s": 94.318,
    "l": 65.49
  },
  "oklch": {
    "l": 0.93234,
    "c": 0.18878,
    "h": 119.6
  },
  "luminance": 0.83917
}

Semantic roles & 50–950 ramp

primary
#DAFA54
secondary
#4829C9
accent
#00E62C
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #DAFA54

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

Preview Lab → · Contrast checker → · Palette generator →

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