#DAF873#DAF873

#DAF873 is a very light, vivid yellow-green. Relative luminance 0.833; OKLCH L 93.1% C 0.162 H 120.2°. Best body text is #000000 at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#DAF873
RGBrgb(218, 248, 115)
HSLhsl(74, 90%, 71%)
HSVhsv(74, 54%, 97%)
CMYKcmyk(12.1%, 0%, 53.6%, 2.7%)
CIE-LABlab(93.14, -28.60, 59.73)
CIE-LCHlch(93.14, 66.22, 115.59°)
OKLaboklab(93.09% -0.0816 0.1401)
OKLCHoklch(93.09% 0.162 120.2)
XYZxyz(65.5760, 83.2782, 28.8360)
Luminance0.8328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF873 #9173F8
analogous
#F8D373 #DAF873 #97F873
triadic
#DAF873 #73DAF8 #F873DA
tetradic
#DAF873 #73F8D3 #9173F8 #F87397
square
#DAF873 #73F8D3 #9173F8 #F87397
split-complementary
#DAF873 #7397F8 #D373F8
monochromatic
#B4E50B #CBF539 #DAF873 #E9FBAD #F7FEE2

Accessibility & contrast

On white

1.19
#DAF873 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.66
#DAF873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF873
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF873#FFFFFF#000000##000000
##DAF8731.001.1917.6617.66
#FFFFFF1.191.0021.0021.00
#00000017.6621.001.001.00
##00000017.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC66
Deuteranopia (green-blind)
#FFEC7B
Tritanopia (blue-blind)
#E4EDDA
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #daf873;
/* rgb */ color: rgb(218, 248, 115);
/* oklch */ color: oklch(93.1% 0.162 120.2);
Tailwind
colors: {
  custom: {
    50: '#e8fa9f',
    500: '#daf873',
    950: '#000000',
  },
}
SCSS
$custom: #daf873;
$custom-light: #e8fa9f;
$custom-dark: #000000;
JSON
{
  "hex": "#daf873",
  "rgb": {
    "r": 218,
    "g": 248,
    "b": 115
  },
  "hsl": {
    "h": 73.534,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.93094,
    "c": 0.16213,
    "h": 120.2
  },
  "luminance": 0.83278
}

Semantic roles & 50–950 ramp

primary
#DAF873
secondary
#5E3CD3
accent
#00E634
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DAF873

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

Preview Lab → · Contrast checker → · Palette generator →

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