#DAF87B#DAF87B

#DAF87B is a very light, vivid yellow-green. Relative luminance 0.835; OKLCH L 93.2% C 0.155 H 120.7°. Best body text is #000000 at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#DAF87B
RGBrgb(218, 248, 123)
HSLhsl(74, 90%, 73%)
HSVhsv(74, 50%, 97%)
CMYKcmyk(12.1%, 0%, 50.4%, 2.7%)
CIE-LABlab(93.22, -27.89, 56.22)
CIE-LCHlch(93.22, 62.76, 116.38°)
OKLaboklab(93.19% -0.0789 0.1332)
OKLCHoklch(93.19% 0.155 120.7)
XYZxyz(66.0565, 83.4704, 31.3665)
Luminance0.8347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF87B #997BF8
analogous
#F8D77B #DAF87B #9BF87B
triadic
#DAF87B #7BDAF8 #F87BDA
tetradic
#DAF87B #7BF8D7 #997BF8 #F87B9B
square
#DAF87B #7BF8D7 #997BF8 #F87B9B
split-complementary
#DAF87B #7B9BF8 #D77BF8
monochromatic
#B6EC0D #CAF541 #DAF87B #EAFBB5 #F7FDE2

Accessibility & contrast

On white

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

On black

17.69
#DAF87B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF87B
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF87B#FFFFFF#000000##000000
##DAF87B1.001.1917.6917.69
#FFFFFF1.191.0021.0021.00
#00000017.6921.001.001.00
##00000017.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6F
Deuteranopia (green-blind)
#FFEC82
Tritanopia (blue-blind)
#E4EDDC
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #daf87b;
/* rgb */ color: rgb(218, 248, 123);
/* oklch */ color: oklch(93.2% 0.155 120.7);
Tailwind
colors: {
  custom: {
    50: '#e7faa4',
    500: '#daf87b',
    950: '#000000',
  },
}
SCSS
$custom: #daf87b;
$custom-light: #e7faa4;
$custom-dark: #000000;
JSON
{
  "hex": "#daf87b",
  "rgb": {
    "r": 218,
    "g": 248,
    "b": 123
  },
  "hsl": {
    "h": 74.4,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.93188,
    "c": 0.1548,
    "h": 120.7
  },
  "luminance": 0.8347
}

Semantic roles & 50–950 ramp

primary
#DAF87B
secondary
#6643D4
accent
#00E637
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #DAF87B

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

Preview Lab → · Contrast checker → · Palette generator →

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