#DAFB73#DAFB73

#DAFB73 is a very light, vivid yellow-green. Relative luminance 0.851; OKLCH L 93.7% C 0.166 H 121.1°. Best body text is #000000 at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#DAFB73
RGBrgb(218, 251, 115)
HSLhsl(75, 94%, 72%)
HSVhsv(75, 54%, 98%)
CMYKcmyk(13.1%, 0%, 54.2%, 1.6%)
CIE-LABlab(93.94, -30.00, 60.66)
CIE-LCHlch(93.94, 67.67, 116.31°)
OKLaboklab(93.74% -0.0856 0.1421)
OKLCHoklch(93.74% 0.166 121.1)
XYZxyz(66.5057, 85.1377, 29.1459)
Luminance0.8514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFB73 #9473FB
analogous
#FBD873 #DAFB73 #96FB73
triadic
#DAFB73 #73DAFB #FB73DA
tetradic
#DAFB73 #73FBD8 #9473FB #FB7396
square
#DAFB73 #73FBD8 #9473FB #FB7396
split-complementary
#DAFB73 #7396FB #D873FB
monochromatic
#B5ED07 #CAF938 #DAFB73 #EAFDAF #F7FEE1

Accessibility & contrast

On white

1.16
#DAFB73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.03
#DAFB73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFB73
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFB73#FFFFFF#000000##000000
##DAFB731.001.1618.0318.03
#FFFFFF1.161.0021.0021.00
#00000018.0321.001.001.00
##00000018.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE65
Deuteranopia (green-blind)
#FFEE7B
Tritanopia (blue-blind)
#E4F0DD
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #dafb73;
/* rgb */ color: rgb(218, 251, 115);
/* oklch */ color: oklch(93.7% 0.166 121.1);
Tailwind
colors: {
  custom: {
    50: '#e8fc9f',
    500: '#dafb73',
    950: '#000000',
  },
}
SCSS
$custom: #dafb73;
$custom-light: #e8fc9f;
$custom-dark: #000000;
JSON
{
  "hex": "#dafb73",
  "rgb": {
    "r": 218,
    "g": 251,
    "b": 115
  },
  "hsl": {
    "h": 74.559,
    "s": 94.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.93741,
    "c": 0.16586,
    "h": 121.1
  },
  "luminance": 0.85138
}

Semantic roles & 50–950 ramp

primary
#DAFB73
secondary
#613BD7
accent
#00E638
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DAFB73

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

Preview Lab → · Contrast checker → · Palette generator →

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