#DAF97C#DAF97C

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

Color values

HEX#DAF97C
RGBrgb(218, 249, 124)
HSLhsl(75, 91%, 73%)
HSVhsv(75, 50%, 98%)
CMYKcmyk(12.4%, 0%, 50.2%, 2.4%)
CIE-LABlab(93.50, -28.26, 56.10)
CIE-LCHlch(93.50, 62.81, 116.74°)
OKLaboklab(93.42% -0.0799 0.133)
OKLCHoklch(93.42% 0.155 121)
XYZxyz(66.4276, 84.1121, 31.8006)
Luminance0.8411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF97C #9B7CF9
analogous
#F9D97C #DAF97C #9BF97C
triadic
#DAF97C #7CDAF9 #F97CDA
tetradic
#DAF97C #7CF9D9 #9B7CF9 #F97C9B
square
#DAF97C #7CF9D9 #9B7CF9 #F97C9B
split-complementary
#DAF97C #7C9BF9 #D97CF9
monochromatic
#B7F00B #C9F641 #DAF97C #EBFCB7 #F7FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DAF97C#FFFFFF#000000##000000
##DAF97C1.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)
#FFED71
Deuteranopia (green-blind)
#FFED83
Tritanopia (blue-blind)
#E3EEDD
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #daf97c;
/* rgb */ color: rgb(218, 249, 124);
/* oklch */ color: oklch(93.4% 0.155 121.0);
Tailwind
colors: {
  custom: {
    50: '#e7fba5',
    500: '#daf97c',
    950: '#000000',
  },
}
SCSS
$custom: #daf97c;
$custom-light: #e7fba5;
$custom-dark: #000000;
JSON
{
  "hex": "#daf97c",
  "rgb": {
    "r": 218,
    "g": 249,
    "b": 124
  },
  "hsl": {
    "h": 74.88,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.93416,
    "c": 0.15513,
    "h": 121
  },
  "luminance": 0.84112
}

Semantic roles & 50–950 ramp

primary
#DAF97C
secondary
#6844D6
accent
#00E639
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #DAF97C

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

Preview Lab → · Contrast checker → · Palette generator →

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