#DAF370#DAF370

#DAF370 is a very light, vivid yellow-green. Relative luminance 0.802; OKLCH L 92.0% C 0.159 H 118.6°. Best body text is #000000 at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#DAF370
RGBrgb(218, 243, 112)
HSLhsl(71, 85%, 70%)
HSVhsv(71, 54%, 95%)
CMYKcmyk(10.3%, 0%, 53.9%, 4.7%)
CIE-LABlab(91.76, -26.51, 59.48)
CIE-LCHlch(91.76, 65.12, 114.02°)
OKLaboklab(91.98% -0.076 0.1393)
OKLCHoklch(91.98% 0.159 118.6)
XYZxyz(63.8895, 80.1769, 27.4360)
Luminance0.8018 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF370 #8970F3
analogous
#F3CA70 #DAF370 #99F370
triadic
#DAF370 #70DAF3 #F370DA
tetradic
#DAF370 #70F3CA #8970F3 #F37099
square
#DAF370 #70F3CA #8970F3 #F37099
split-complementary
#DAF370 #7099F3 #CA70F3
monochromatic
#B1D712 #CBEE38 #DAF370 #E9F8A8 #F7FCE1

Accessibility & contrast

On white

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

On black

17.04
#DAF370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF370
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF370#FFFFFF#000000##000000
##DAF3701.001.2317.0417.04
#FFFFFF1.231.0021.0021.00
#00000017.0421.001.001.00
##00000017.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE763
Deuteranopia (green-blind)
#FEE878
Tritanopia (blue-blind)
#E5E8D6
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #daf370;
/* rgb */ color: rgb(218, 243, 112);
/* oklch */ color: oklch(92.0% 0.159 118.6);
Tailwind
colors: {
  custom: {
    50: '#e8f79d',
    500: '#daf370',
    950: '#000000',
  },
}
SCSS
$custom: #daf370;
$custom-light: #e8f79d;
$custom-dark: #000000;
JSON
{
  "hex": "#daf370",
  "rgb": {
    "r": 218,
    "g": 243,
    "b": 112
  },
  "hsl": {
    "h": 71.45,
    "s": 84.516,
    "l": 69.608
  },
  "oklch": {
    "l": 0.91983,
    "c": 0.15865,
    "h": 118.6
  },
  "luminance": 0.80176
}

Semantic roles & 50–950 ramp

primary
#DAF370
secondary
#563BCD
accent
#05E12F
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DAF370

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

Preview Lab → · Contrast checker → · Palette generator →

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