#DAF98F#DAF98F

#DAF98F is a very light, vivid yellow-green. Relative luminance 0.846; OKLCH L 93.7% C 0.136 H 122.4°. Best body text is #000000 at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#DAF98F
RGBrgb(218, 249, 143)
HSLhsl(78, 90%, 77%)
HSVhsv(78, 43%, 98%)
CMYKcmyk(12.4%, 0%, 42.6%, 2.4%)
CIE-LABlab(93.73, -26.33, 47.45)
CIE-LCHlch(93.73, 54.27, 119.02°)
OKLaboklab(93.67% -0.073 0.1151)
OKLCHoklch(93.67% 0.136 122.4)
XYZxyz(67.7470, 84.6399, 38.7493)
Luminance0.8464 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF98F #AE8FF9
analogous
#F9E38F #DAF98F #A5F98F
triadic
#DAF98F #8FDAF9 #F98FDA
tetradic
#DAF98F #8FF9E3 #AE8FF9 #F98FA5
square
#DAF98F #8FF9E3 #AE8FF9 #F98FA5
split-complementary
#DAF98F #8FA5F9 #E38FF9
monochromatic
#B4F31B #C7F655 #DAF98F #EDFCC9 #F5FDE2

Accessibility & contrast

On white

1.17
#DAF98F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.93
#DAF98F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF98F
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF98F#FFFFFF#000000##000000
##DAF98F1.001.1717.9317.93
#FFFFFF1.171.0021.0021.00
#00000017.9321.001.001.00
##00000017.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE87
Deuteranopia (green-blind)
#FFED95
Tritanopia (blue-blind)
#E2F0E0
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #daf98f;
/* rgb */ color: rgb(218, 249, 143);
/* oklch */ color: oklch(93.7% 0.136 122.4);
Tailwind
colors: {
  custom: {
    50: '#e7fbb1',
    500: '#daf98f',
    950: '#000000',
  },
}
SCSS
$custom: #daf98f;
$custom-light: #e7fbb1;
$custom-dark: #000000;
JSON
{
  "hex": "#daf98f",
  "rgb": {
    "r": 218,
    "g": 249,
    "b": 143
  },
  "hsl": {
    "h": 77.547,
    "s": 89.831,
    "l": 76.863
  },
  "oklch": {
    "l": 0.93673,
    "c": 0.13626,
    "h": 122.4
  },
  "luminance": 0.8464
}

Semantic roles & 50–950 ramp

primary
#DAF98F
secondary
#7B54D8
accent
#00E643
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DAF98F

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

Preview Lab → · Contrast checker → · Palette generator →

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