#DAFB74#DAFB74

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

Color values

HEX#DAFB74
RGBrgb(218, 251, 116)
HSLhsl(75, 94%, 72%)
HSVhsv(75, 54%, 98%)
CMYKcmyk(13.1%, 0%, 53.8%, 1.6%)
CIE-LABlab(93.95, -29.91, 60.23)
CIE-LCHlch(93.95, 67.25, 116.41°)
OKLaboklab(93.75% -0.0852 0.1413)
OKLCHoklch(93.75% 0.165 121.1)
XYZxyz(66.5636, 85.1608, 29.4506)
Luminance0.8516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFB74 #9574FB
analogous
#FBD974 #DAFB74 #96FB74
triadic
#DAFB74 #74DAFB #FB74DA
tetradic
#DAFB74 #74FBD9 #9574FB #FB7496
square
#DAFB74 #74FBD9 #9574FB #FB7496
split-complementary
#DAFB74 #7496FB #D974FB
monochromatic
#B5EE07 #CAF939 #DAFB74 #EAFDAF #F7FEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DAFB74#FFFFFF#000000##000000
##DAFB741.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)
#FFEE67
Deuteranopia (green-blind)
#FFEE7C
Tritanopia (blue-blind)
#E4F0DD
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #dafb74;
/* rgb */ color: rgb(218, 251, 116);
/* oklch */ color: oklch(93.8% 0.165 121.1);
Tailwind
colors: {
  custom: {
    50: '#e8fca0',
    500: '#dafb74',
    950: '#000000',
  },
}
SCSS
$custom: #dafb74;
$custom-light: #e8fca0;
$custom-dark: #000000;
JSON
{
  "hex": "#dafb74",
  "rgb": {
    "r": 218,
    "g": 251,
    "b": 116
  },
  "hsl": {
    "h": 74.667,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.93753,
    "c": 0.16498,
    "h": 121.1
  },
  "luminance": 0.85161
}

Semantic roles & 50–950 ramp

primary
#DAFB74
secondary
#623CD7
accent
#00E638
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DAFB74

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

Preview Lab → · Contrast checker → · Palette generator →

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