#DAFA5A#DAFA5A

#DAFA5A is a very light, vivid yellow-green. Relative luminance 0.840; OKLCH L 93.3% C 0.185 H 119.8°. Best body text is #000000 at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#DAFA5A
RGBrgb(218, 250, 90)
HSLhsl(72, 94%, 67%)
HSVhsv(72, 64%, 98%)
CMYKcmyk(12.8%, 0%, 64%, 2%)
CIE-LABlab(93.46, -31.40, 70.54)
CIE-LCHlch(93.46, 77.21, 114.00°)
OKLaboklab(93.28% -0.0918 0.1602)
OKLCHoklch(93.28% 0.185 119.8)
XYZxyz(64.9455, 84.0151, 22.4660)
Luminance0.8401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFA5A #7A5AFA
analogous
#FACA5A #DAFA5A #8AFA5A
triadic
#DAFA5A #5ADAFA #FA5ADA
tetradic
#DAFA5A #5AFACA #7A5AFA #FA5A8A
square
#DAFA5A #5AFACA #7A5AFA #FA5A8A
split-complementary
#DAFA5A #5A8AFA #CA5AFA
monochromatic
#AAD306 #CDF81F #DAFA5A #E7FC95 #F5FED1

Accessibility & contrast

On white

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

On black

17.80
#DAFA5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFA5A
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFA5A#FFFFFF#000000##000000
##DAFA5A1.001.1817.8017.80
#FFFFFF1.181.0021.0021.00
#00000017.8021.001.001.00
##00000017.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dafa5a;
/* rgb */ color: rgb(218, 250, 90);
/* oklch */ color: oklch(93.3% 0.185 119.8);
Tailwind
colors: {
  custom: {
    50: '#e9fc90',
    500: '#dafa5a',
    950: '#000000',
  },
}
SCSS
$custom: #dafa5a;
$custom-light: #e9fc90;
$custom-dark: #000000;
JSON
{
  "hex": "#dafa5a",
  "rgb": {
    "r": 218,
    "g": 250,
    "b": 90
  },
  "hsl": {
    "h": 72,
    "s": 94.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.93282,
    "c": 0.18464,
    "h": 119.8
  },
  "luminance": 0.84015
}

Semantic roles & 50–950 ramp

primary
#DAFA5A
secondary
#4B2ACE
accent
#00E62E
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #DAFA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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