#DAFA5B#DAFA5B

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

Color values

HEX#DAFA5B
RGBrgb(218, 250, 91)
HSLhsl(72, 94%, 67%)
HSVhsv(72, 64%, 98%)
CMYKcmyk(12.8%, 0%, 63.6%, 2%)
CIE-LABlab(93.46, -31.34, 70.16)
CIE-LCHlch(93.46, 76.84, 114.07°)
OKLaboklab(93.29% -0.0915 0.1595)
OKLCHoklch(93.29% 0.184 119.8)
XYZxyz(64.9884, 84.0323, 22.6917)
Luminance0.8403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFA5B #7B5BFA
analogous
#FACA5B #DAFA5B #8BFA5B
triadic
#DAFA5B #5BDAFA #FA5BDA
tetradic
#DAFA5B #5BFACA #7B5BFA #FA5B8B
square
#DAFA5B #5BFACA #7B5BFA #FA5B8B
split-complementary
#DAFA5B #5B8BFA #CA5BFA
monochromatic
#ABD406 #CDF820 #DAFA5B #E7FC96 #F5FED2

Accessibility & contrast

On white

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

On black

17.81
#DAFA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFA5B
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFA5B#FFFFFF#000000##000000
##DAFA5B1.001.1817.8117.81
#FFFFFF1.181.0021.0021.00
#00000017.8121.001.001.00
##00000017.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dafa5b;
/* rgb */ color: rgb(218, 250, 91);
/* oklch */ color: oklch(93.3% 0.184 119.8);
Tailwind
colors: {
  custom: {
    50: '#e9fc90',
    500: '#dafa5b',
    950: '#000000',
  },
}
SCSS
$custom: #dafa5b;
$custom-light: #e9fc90;
$custom-dark: #000000;
JSON
{
  "hex": "#dafa5b",
  "rgb": {
    "r": 218,
    "g": 250,
    "b": 91
  },
  "hsl": {
    "h": 72.075,
    "s": 94.083,
    "l": 66.863
  },
  "oklch": {
    "l": 0.9329,
    "c": 0.18393,
    "h": 119.8
  },
  "luminance": 0.84032
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DAFA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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