#DAF266#DAF266

#DAF266 is a very light, vivid yellow-green. Relative luminance 0.794; OKLCH L 91.7% C 0.166 H 118.0°. Best body text is #000000 at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#DAF266
RGBrgb(218, 242, 102)
HSLhsl(70, 84%, 67%)
HSVhsv(70, 58%, 95%)
CMYKcmyk(9.9%, 0%, 57.9%, 5.1%)
CIE-LABlab(91.40, -26.84, 63.42)
CIE-LCHlch(91.40, 68.86, 112.94°)
OKLaboklab(91.66% -0.0779 0.1467)
OKLCHoklch(91.66% 0.166 118)
XYZxyz(63.0648, 79.3695, 24.5654)
Luminance0.7937 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF266 #7E66F2
analogous
#F2C466 #DAF266 #94F266
triadic
#DAF266 #66DAF2 #F266DA
tetradic
#DAF266 #66F2C4 #7E66F2 #F26694
square
#DAF266 #66F2C4 #7E66F2 #F26694
split-complementary
#DAF266 #6694F2 #C466F2
monochromatic
#ACCC11 #CCED2E #DAF266 #E8F79E #F5FCD7

Accessibility & contrast

On white

1.24
#DAF266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.87
#DAF266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF266
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF266#FFFFFF#000000##000000
##DAF2661.001.2416.8716.87
#FFFFFF1.241.0021.0021.00
#00000016.8721.001.001.00
##00000016.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE657
Deuteranopia (green-blind)
#FEE76F
Tritanopia (blue-blind)
#E6E6D4
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #daf266;
/* rgb */ color: rgb(218, 242, 102);
/* oklch */ color: oklch(91.7% 0.166 118.0);
Tailwind
colors: {
  custom: {
    50: '#e8f696',
    500: '#daf266',
    950: '#000000',
  },
}
SCSS
$custom: #daf266;
$custom-light: #e8f696;
$custom-dark: #000000;
JSON
{
  "hex": "#daf266",
  "rgb": {
    "r": 218,
    "g": 242,
    "b": 102
  },
  "hsl": {
    "h": 70.286,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.91661,
    "c": 0.16606,
    "h": 118
  },
  "luminance": 0.79369
}

Semantic roles & 50–950 ramp

primary
#DAF266
secondary
#4D34C9
accent
#05E12A
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DAF266

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

Preview Lab → · Contrast checker → · Palette generator →

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