#DAFA73#DAFA73

#DAFA73 is a very light, vivid yellow-green. Relative luminance 0.845; OKLCH L 93.5% C 0.165 H 120.8°. Best body text is #000000 at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#DAFA73
RGBrgb(218, 250, 115)
HSLhsl(74, 93%, 72%)
HSVhsv(74, 54%, 98%)
CMYKcmyk(12.8%, 0%, 54%, 2%)
CIE-LABlab(93.67, -29.53, 60.35)
CIE-LCHlch(93.67, 67.19, 116.08°)
OKLaboklab(93.53% -0.0843 0.1414)
OKLCHoklch(93.53% 0.165 120.8)
XYZxyz(66.1942, 84.5146, 29.0421)
Luminance0.8451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFA73 #9373FA
analogous
#FAD673 #DAFA73 #97FA73
triadic
#DAFA73 #73DAFA #FA73DA
tetradic
#DAFA73 #73FAD6 #9373FA #FA7397
square
#DAFA73 #73FAD6 #9373FA #FA7397
split-complementary
#DAFA73 #7397FA #D673FA
monochromatic
#B5EA08 #CAF838 #DAFA73 #EAFCAE #F7FEE1

Accessibility & contrast

On white

1.17
#DAFA73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.90
#DAFA73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFA73
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFA73#FFFFFF#000000##000000
##DAFA731.001.1717.9017.90
#FFFFFF1.171.0021.0021.00
#00000017.9021.001.001.00
##00000017.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED66
Deuteranopia (green-blind)
#FFED7B
Tritanopia (blue-blind)
#E4EFDC
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #dafa73;
/* rgb */ color: rgb(218, 250, 115);
/* oklch */ color: oklch(93.5% 0.165 120.8);
Tailwind
colors: {
  custom: {
    50: '#e8fc9f',
    500: '#dafa73',
    950: '#000000',
  },
}
SCSS
$custom: #dafa73;
$custom-light: #e8fc9f;
$custom-dark: #000000;
JSON
{
  "hex": "#dafa73",
  "rgb": {
    "r": 218,
    "g": 250,
    "b": 115
  },
  "hsl": {
    "h": 74.222,
    "s": 93.103,
    "l": 71.569
  },
  "oklch": {
    "l": 0.93525,
    "c": 0.16462,
    "h": 120.8
  },
  "luminance": 0.84514
}

Semantic roles & 50–950 ramp

primary
#DAFA73
secondary
#603BD6
accent
#00E636
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DAFA73

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

Preview Lab → · Contrast checker → · Palette generator →

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