#DAF296#DAF296

#DAF296 is a very light, moderate yellow-green. Relative luminance 0.806; OKLCH L 92.3% C 0.119 H 120.7°. Best body text is #000000 at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#DAF296
RGBrgb(218, 242, 150)
HSLhsl(76, 78%, 77%)
HSVhsv(76, 38%, 95%)
CMYKcmyk(9.9%, 0%, 38%, 5.1%)
CIE-LABlab(91.96, -22.19, 41.80)
CIE-LCHlch(91.96, 47.33, 117.96°)
OKLaboklab(92.29% -0.0609 0.1025)
OKLCHoklch(92.29% 0.119 120.7)
XYZxyz(66.1705, 80.6118, 40.9219)
Luminance0.8061 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF296 #AE96F2
analogous
#F2DC96 #DAF296 #ACF296
triadic
#DAF296 #96DAF2 #F296DA
tetradic
#DAF296 #96F2DC #AE96F2 #F296AC
square
#DAF296 #96F2DC #AE96F2 #F296AC
split-complementary
#DAF296 #96ACF2 #DC96F2
monochromatic
#B4E529 #C7EB60 #DAF296 #EDF9CC #F5FCE4

Accessibility & contrast

On white

1.23
#DAF296 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.12
#DAF296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF296
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF296#FFFFFF#000000##000000
##DAF2961.001.2317.1217.12
#FFFFFF1.231.0021.0021.00
#00000017.1221.001.001.00
##00000017.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE88F
Deuteranopia (green-blind)
#FAE89A
Tritanopia (blue-blind)
#E2E9DB
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #daf296;
/* rgb */ color: rgb(218, 242, 150);
/* oklch */ color: oklch(92.3% 0.119 120.7);
Tailwind
colors: {
  custom: {
    50: '#e6f6b6',
    500: '#daf296',
    950: '#000000',
  },
}
SCSS
$custom: #daf296;
$custom-light: #e6f6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#daf296",
  "rgb": {
    "r": 218,
    "g": 242,
    "b": 150
  },
  "hsl": {
    "h": 75.652,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.92288,
    "c": 0.11925,
    "h": 120.7
  },
  "luminance": 0.80612
}

Semantic roles & 50–950 ramp

primary
#DAF296
secondary
#7B5DCF
accent
#0BDA41
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#161711
muted
#848581

Preview Lab

Preview with #DAF296

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

Preview Lab → · Contrast checker → · Palette generator →

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