#DAF796#DAF796

#DAF796 is a very light, vivid yellow-green. Relative luminance 0.836; OKLCH L 93.4% C 0.126 H 122.4°. Best body text is #000000 at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#DAF796
RGBrgb(218, 247, 150)
HSLhsl(78, 86%, 78%)
HSVhsv(78, 39%, 97%)
CMYKcmyk(11.7%, 0%, 39.3%, 3.1%)
CIE-LABlab(93.29, -24.59, 43.51)
CIE-LCHlch(93.29, 49.98, 119.47°)
OKLaboklab(93.35% -0.0676 0.1064)
OKLCHoklch(93.35% 0.126 122.4)
XYZxyz(67.6791, 83.6289, 41.4248)
Luminance0.8363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF796 #B396F7
analogous
#F7E396 #DAF796 #A9F796
triadic
#DAF796 #96DAF7 #F796DA
tetradic
#DAF796 #96F7E3 #B396F7 #F796A9
square
#DAF796 #96F7E3 #B396F7 #F796A9
split-complementary
#DAF796 #96A9F7 #E396F7
monochromatic
#B2EE24 #C6F35D #DAF796 #EEFBCF #F5FDE3

Accessibility & contrast

On white

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

On black

17.73
#DAF796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF796
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF796#FFFFFF#000000##000000
##DAF7961.001.1817.7317.73
#FFFFFF1.181.0021.0021.00
#00000017.7321.001.001.00
##00000017.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC8F
Deuteranopia (green-blind)
#FEEC9B
Tritanopia (blue-blind)
#E1EEDF
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #daf796;
/* rgb */ color: rgb(218, 247, 150);
/* oklch */ color: oklch(93.4% 0.126 122.4);
Tailwind
colors: {
  custom: {
    50: '#e6fab6',
    500: '#daf796',
    950: '#000000',
  },
}
SCSS
$custom: #daf796;
$custom-light: #e6fab6;
$custom-dark: #000000;
JSON
{
  "hex": "#daf796",
  "rgb": {
    "r": 218,
    "g": 247,
    "b": 150
  },
  "hsl": {
    "h": 77.938,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.93353,
    "c": 0.12611,
    "h": 122.4
  },
  "luminance": 0.83629
}

Semantic roles & 50–950 ramp

primary
#DAF796
secondary
#805BD6
accent
#03E246
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DAF796

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

Preview Lab → · Contrast checker → · Palette generator →

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