#DAF898#DAF898

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

Color values

HEX#DAF898
RGBrgb(218, 248, 152)
HSLhsl(79, 87%, 78%)
HSVhsv(79, 39%, 97%)
CMYKcmyk(12.1%, 0%, 38.7%, 2.7%)
CIE-LABlab(93.58, -24.83, 42.91)
CIE-LCHlch(93.58, 49.57, 120.05°)
OKLaboklab(93.6% -0.0682 0.1052)
OKLCHoklch(93.6% 0.125 123)
XYZxyz(68.1481, 84.3071, 42.3824)
Luminance0.8431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF898 #B698F8
analogous
#F8E698 #DAF898 #AAF898
triadic
#DAF898 #98DAF8 #F898DA
tetradic
#DAF898 #98F8E6 #B698F8 #F898AA
square
#DAF898 #98F8E6 #B698F8 #F898AA
split-complementary
#DAF898 #98AAF8 #E698F8
monochromatic
#B1F025 #C5F45F #DAF898 #EFFCD1 #F5FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DAF898#FFFFFF#000000##000000
##DAF8981.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)
#FFED91
Deuteranopia (green-blind)
#FEEC9D
Tritanopia (blue-blind)
#E1EFE0
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #daf898;
/* rgb */ color: rgb(218, 248, 152);
/* oklch */ color: oklch(93.6% 0.125 123.0);
Tailwind
colors: {
  custom: {
    50: '#e6fab7',
    500: '#daf898',
    950: '#000000',
  },
}
SCSS
$custom: #daf898;
$custom-light: #e6fab7;
$custom-dark: #000000;
JSON
{
  "hex": "#daf898",
  "rgb": {
    "r": 218,
    "g": 248,
    "b": 152
  },
  "hsl": {
    "h": 78.75,
    "s": 87.273,
    "l": 78.431
  },
  "oklch": {
    "l": 0.93598,
    "c": 0.12534,
    "h": 123
  },
  "luminance": 0.84307
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DAF898

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

Preview Lab → · Contrast checker → · Palette generator →

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