#DAF897#DAF897

#DAF897 is a very light, vivid yellow-green. Relative luminance 0.843; OKLCH L 93.6% C 0.126 H 122.9°. Best body text is #000000 at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#DAF897
RGBrgb(218, 248, 151)
HSLhsl(79, 87%, 78%)
HSVhsv(79, 39%, 97%)
CMYKcmyk(12.1%, 0%, 39.1%, 2.7%)
CIE-LABlab(93.57, -24.95, 43.38)
CIE-LCHlch(93.57, 50.04, 119.90°)
OKLaboklab(93.58% -0.0686 0.1062)
OKLCHoklch(93.58% 0.126 122.9)
XYZxyz(68.0665, 84.2744, 41.9528)
Luminance0.8427 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF897 #B597F8
analogous
#F8E697 #DAF897 #A9F897
triadic
#DAF897 #97DAF8 #F897DA
tetradic
#DAF897 #97F8E6 #B597F8 #F897A9
square
#DAF897 #97F8E6 #B597F8 #F897A9
split-complementary
#DAF897 #97A9F8 #E697F8
monochromatic
#B1F024 #C6F45E #DAF897 #EEFCD0 #F5FDE2

Accessibility & contrast

On white

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

On black

17.86
#DAF897 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF897
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF897#FFFFFF#000000##000000
##DAF8971.001.1817.8617.86
#FFFFFF1.181.0021.0021.00
#00000017.8621.001.001.00
##00000017.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED90
Deuteranopia (green-blind)
#FEEC9C
Tritanopia (blue-blind)
#E1EFE0
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #daf897;
/* rgb */ color: rgb(218, 248, 151);
/* oklch */ color: oklch(93.6% 0.126 122.9);
Tailwind
colors: {
  custom: {
    50: '#e6fab7',
    500: '#daf897',
    950: '#000000',
  },
}
SCSS
$custom: #daf897;
$custom-light: #e6fab7;
$custom-dark: #000000;
JSON
{
  "hex": "#daf897",
  "rgb": {
    "r": 218,
    "g": 248,
    "b": 151
  },
  "hsl": {
    "h": 78.557,
    "s": 87.387,
    "l": 78.235
  },
  "oklch": {
    "l": 0.93582,
    "c": 0.12642,
    "h": 122.9
  },
  "luminance": 0.84275
}

Semantic roles & 50–950 ramp

primary
#DAF897
secondary
#825CD8
accent
#02E448
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DAF897

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

Preview Lab → · Contrast checker → · Palette generator →

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