#DAF378#DAF378

#DAF378 is a very light, vivid yellow-green. Relative luminance 0.804; OKLCH L 92.1% C 0.151 H 119.0°. Best body text is #000000 at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#DAF378
RGBrgb(218, 243, 120)
HSLhsl(72, 84%, 71%)
HSVhsv(72, 51%, 95%)
CMYKcmyk(10.3%, 0%, 50.6%, 4.7%)
CIE-LABlab(91.85, -25.81, 55.97)
CIE-LCHlch(91.85, 61.63, 114.75°)
OKLaboklab(92.08% -0.0733 0.1324)
OKLCHoklch(92.08% 0.151 119)
XYZxyz(64.3548, 80.3630, 29.8870)
Luminance0.8036 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF378 #9178F3
analogous
#F3CE78 #DAF378 #9CF378
triadic
#DAF378 #78DAF3 #F378DA
tetradic
#DAF378 #78F3CE #9178F3 #F3789C
square
#DAF378 #78F3CE #9178F3 #F3789C
split-complementary
#DAF378 #789CF3 #CE78F3
monochromatic
#B4DD14 #CBEE40 #DAF378 #E9F8B0 #F7FDE3

Accessibility & contrast

On white

1.23
#DAF378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.07
#DAF378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF378
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF378#FFFFFF#000000##000000
##DAF3781.001.2317.0717.07
#FFFFFF1.231.0021.0021.00
#00000017.0721.001.001.00
##00000017.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86D
Deuteranopia (green-blind)
#FDE87F
Tritanopia (blue-blind)
#E4E8D7
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #daf378;
/* rgb */ color: rgb(218, 243, 120);
/* oklch */ color: oklch(92.1% 0.151 119.0);
Tailwind
colors: {
  custom: {
    50: '#e7f7a2',
    500: '#daf378',
    950: '#000000',
  },
}
SCSS
$custom: #daf378;
$custom-light: #e7f7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#daf378",
  "rgb": {
    "r": 218,
    "g": 243,
    "b": 120
  },
  "hsl": {
    "h": 72.195,
    "s": 83.673,
    "l": 71.176
  },
  "oklch": {
    "l": 0.92077,
    "c": 0.15132,
    "h": 119
  },
  "luminance": 0.80363
}

Semantic roles & 50–950 ramp

primary
#DAF378
secondary
#5E42CE
accent
#05E032
background
#FEFFFC
surface
#FDFEF6
border
#D5D6D0
text
#16170F
muted
#848580

Preview Lab

Preview with #DAF378

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

Preview Lab → · Contrast checker → · Palette generator →

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