#DAF97B#DAF97B

#DAF97B is a very light, vivid yellow-green. Relative luminance 0.841; OKLCH L 93.4% C 0.156 H 120.9°. Best body text is #000000 at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#DAF97B
RGBrgb(218, 249, 123)
HSLhsl(75, 91%, 73%)
HSVhsv(75, 51%, 98%)
CMYKcmyk(12.4%, 0%, 50.6%, 2.4%)
CIE-LABlab(93.49, -28.35, 56.54)
CIE-LCHlch(93.49, 63.25, 116.63°)
OKLaboklab(93.4% -0.0802 0.1339)
OKLCHoklch(93.4% 0.156 120.9)
XYZxyz(66.3647, 84.0869, 31.4692)
Luminance0.8409 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF97B #9A7BF9
analogous
#F9D97B #DAF97B #9BF97B
triadic
#DAF97B #7BDAF9 #F97BDA
tetradic
#DAF97B #7BF9D9 #9A7BF9 #F97B9B
square
#DAF97B #7BF9D9 #9A7BF9 #F97B9B
split-complementary
#DAF97B #7B9BF9 #D97BF9
monochromatic
#B7EF0B #CAF640 #DAF97B #EAFCB6 #F7FEE2

Accessibility & contrast

On white

1.18
#DAF97B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.82
#DAF97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF97B
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF97B#FFFFFF#000000##000000
##DAF97B1.001.1817.8217.82
#FFFFFF1.181.0021.0021.00
#00000017.8221.001.001.00
##00000017.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6F
Deuteranopia (green-blind)
#FFEC82
Tritanopia (blue-blind)
#E4EEDC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #daf97b;
/* rgb */ color: rgb(218, 249, 123);
/* oklch */ color: oklch(93.4% 0.156 120.9);
Tailwind
colors: {
  custom: {
    50: '#e7fba4',
    500: '#daf97b',
    950: '#000000',
  },
}
SCSS
$custom: #daf97b;
$custom-light: #e7fba4;
$custom-dark: #000000;
JSON
{
  "hex": "#daf97b",
  "rgb": {
    "r": 218,
    "g": 249,
    "b": 123
  },
  "hsl": {
    "h": 74.762,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.93404,
    "c": 0.15608,
    "h": 120.9
  },
  "luminance": 0.84087
}

Semantic roles & 50–950 ramp

primary
#DAF97B
secondary
#6743D6
accent
#00E638
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #DAF97B

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

Preview Lab → · Contrast checker → · Palette generator →

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