#DAF766#DAF766

#DAF766 is a very light, vivid yellow-green. Relative luminance 0.824; OKLCH L 92.7% C 0.172 H 119.4°. Best body text is #000000 at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#DAF766
RGBrgb(218, 247, 102)
HSLhsl(72, 90%, 68%)
HSVhsv(72, 59%, 97%)
CMYKcmyk(11.7%, 0%, 58.7%, 3.1%)
CIE-LABlab(92.75, -29.18, 64.91)
CIE-LCHlch(92.75, 71.17, 114.20°)
OKLaboklab(92.74% -0.0845 0.1498)
OKLCHoklch(92.74% 0.172 119.4)
XYZxyz(64.5734, 82.3866, 25.0682)
Luminance0.8239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF766 #8366F7
analogous
#F7CB66 #DAF766 #91F766
triadic
#DAF766 #66DAF7 #F766DA
tetradic
#DAF766 #66F7CB #8366F7 #F76691
square
#DAF766 #66F7CB #8366F7 #F76691
split-complementary
#DAF766 #6691F7 #CB66F7
monochromatic
#AFD70B #CCF42C #DAF766 #E8FAA0 #F6FDDA

Accessibility & contrast

On white

1.20
#DAF766 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.48
#DAF766 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF766
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF766#FFFFFF#000000##000000
##DAF7661.001.2017.4817.48
#FFFFFF1.201.0021.0021.00
#00000017.4821.001.001.00
##00000017.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA56
Deuteranopia (green-blind)
#FFEB6F
Tritanopia (blue-blind)
#E5EBD8
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #daf766;
/* rgb */ color: rgb(218, 247, 102);
/* oklch */ color: oklch(92.7% 0.172 119.4);
Tailwind
colors: {
  custom: {
    50: '#e8f997',
    500: '#daf766',
    950: '#000000',
  },
}
SCSS
$custom: #daf766;
$custom-light: #e8f997;
$custom-dark: #000000;
JSON
{
  "hex": "#daf766",
  "rgb": {
    "r": 218,
    "g": 247,
    "b": 102
  },
  "hsl": {
    "h": 72,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.9274,
    "c": 0.17199,
    "h": 119.4
  },
  "luminance": 0.82386
}

Semantic roles & 50–950 ramp

primary
#DAF766
secondary
#5131D0
accent
#00E62E
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DAF766

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

Preview Lab → · Contrast checker → · Palette generator →

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