#DAF166#DAF166

#DAF166 is a very light, vivid yellow. Relative luminance 0.788; OKLCH L 91.4% C 0.165 H 117.7°. Best body text is #000000 at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#DAF166
RGBrgb(218, 241, 102)
HSLhsl(70, 83%, 67%)
HSVhsv(70, 58%, 95%)
CMYKcmyk(9.5%, 0%, 57.7%, 5.5%)
CIE-LABlab(91.13, -26.36, 63.12)
CIE-LCHlch(91.13, 68.41, 112.67°)
OKLaboklab(91.45% -0.0766 0.146)
OKLCHoklch(91.45% 0.165 117.7)
XYZxyz(62.7680, 78.7759, 24.4664)
Luminance0.7877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF166 #7D66F1
analogous
#F1C366 #DAF166 #95F166
triadic
#DAF166 #66DAF1 #F166DA
tetradic
#DAF166 #66F1C3 #7D66F1 #F16695
square
#DAF166 #66F1C3 #7D66F1 #F16695
split-complementary
#DAF166 #6695F1 #C366F1
monochromatic
#ACCA12 #CCEC2E #DAF166 #E8F69E #F5FBD6

Accessibility & contrast

On white

1.25
#DAF166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.76
#DAF166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF166
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF166#FFFFFF#000000##000000
##DAF1661.001.2516.7616.76
#FFFFFF1.251.0021.0021.00
#00000016.7621.001.001.00
##00000016.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE557
Deuteranopia (green-blind)
#FDE66F
Tritanopia (blue-blind)
#E6E5D3
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #daf166;
/* rgb */ color: rgb(218, 241, 102);
/* oklch */ color: oklch(91.4% 0.165 117.7);
Tailwind
colors: {
  custom: {
    50: '#e8f596',
    500: '#daf166',
    950: '#000000',
  },
}
SCSS
$custom: #daf166;
$custom-light: #e8f596;
$custom-dark: #000000;
JSON
{
  "hex": "#daf166",
  "rgb": {
    "r": 218,
    "g": 241,
    "b": 102
  },
  "hsl": {
    "h": 69.928,
    "s": 83.234,
    "l": 67.255
  },
  "oklch": {
    "l": 0.91446,
    "c": 0.16487,
    "h": 117.7
  },
  "luminance": 0.78775
}

Semantic roles & 50–950 ramp

primary
#DAF166
secondary
#4D34C7
accent
#06E02A
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DAF166

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

Preview Lab → · Contrast checker → · Palette generator →

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