#DAFA55#DAFA55

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

Color values

HEX#DAFA55
RGBrgb(218, 250, 85)
HSLhsl(72, 94%, 66%)
HSVhsv(72, 66%, 98%)
CMYKcmyk(12.8%, 0%, 66%, 2%)
CIE-LABlab(93.42, -31.72, 72.41)
CIE-LCHlch(93.42, 79.05, 113.65°)
OKLaboklab(93.24% -0.0931 0.1635)
OKLCHoklch(93.24% 0.188 119.7)
XYZxyz(64.7398, 83.9328, 21.3827)
Luminance0.8393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFA55 #7555FA
analogous
#FAC755 #DAFA55 #87FA55
triadic
#DAFA55 #55DAFA #FA55DA
tetradic
#DAFA55 #55FAC7 #7555FA #FA5587
square
#DAFA55 #55FAC7 #7555FA #FA5587
split-complementary
#DAFA55 #5587FA #C755FA
monochromatic
#A8CF06 #CDF81A #DAFA55 #E7FC90 #F4FDCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DAFA55#FFFFFF#000000##000000
##DAFA551.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)
#FFEC3D
Deuteranopia (green-blind)
#FFED61
Tritanopia (blue-blind)
#E6EDD9
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #dafa55;
/* rgb */ color: rgb(218, 250, 85);
/* oklch */ color: oklch(93.2% 0.188 119.7);
Tailwind
colors: {
  custom: {
    50: '#e9fc8d',
    500: '#dafa55',
    950: '#000000',
  },
}
SCSS
$custom: #dafa55;
$custom-light: #e9fc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#dafa55",
  "rgb": {
    "r": 218,
    "g": 250,
    "b": 85
  },
  "hsl": {
    "h": 71.636,
    "s": 94.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.93242,
    "c": 0.18811,
    "h": 119.7
  },
  "luminance": 0.83933
}

Semantic roles & 50–950 ramp

primary
#DAFA55
secondary
#4829CA
accent
#00E62D
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #DAFA55

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

Preview Lab → · Contrast checker → · Palette generator →

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