#DAF04F#DAF04F

#DAF04F is a very light, vivid yellow. Relative luminance 0.778; OKLCH L 91.0% C 0.181 H 116.8°. Best body text is #000000 at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#DAF04F
RGBrgb(218, 240, 79)
HSLhsl(68, 84%, 63%)
HSVhsv(68, 67%, 94%)
CMYKcmyk(9.2%, 0%, 67.1%, 5.9%)
CIE-LABlab(90.68, -27.42, 71.84)
CIE-LCHlch(90.68, 76.89, 110.89°)
OKLaboklab(91.03% -0.0817 0.1614)
OKLCHoklch(91.03% 0.181 116.8)
XYZxyz(61.4862, 77.7909, 19.1717)
Luminance0.7779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF04F #654FF0
analogous
#F0B64F #DAF04F #89F04F
triadic
#DAF04F #4FDAF0 #F04FDA
tetradic
#DAF04F #4FF0B6 #654FF0 #F04F89
square
#DAF04F #4FF0B6 #654FF0 #F04F89
split-complementary
#DAF04F #4F89F0 #B64FF0
monochromatic
#9FB50F #CEEB17 #DAF04F #E6F587 #F2FAC0

Accessibility & contrast

On white

1.27
#DAF04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.56
#DAF04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF04F
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF04F#FFFFFF#000000##000000
##DAF04F1.001.2716.5616.56
#FFFFFF1.271.0021.0021.00
#00000016.5621.001.001.00
##00000016.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE437
Deuteranopia (green-blind)
#FEE55B
Tritanopia (blue-blind)
#E7E3D0
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #daf04f;
/* rgb */ color: rgb(218, 240, 79);
/* oklch */ color: oklch(91.0% 0.181 116.8);
Tailwind
colors: {
  custom: {
    50: '#e9f489',
    500: '#daf04f',
    950: '#000000',
  },
}
SCSS
$custom: #daf04f;
$custom-light: #e9f489;
$custom-dark: #000000;
JSON
{
  "hex": "#daf04f",
  "rgb": {
    "r": 218,
    "g": 240,
    "b": 79
  },
  "hsl": {
    "h": 68.199,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.91028,
    "c": 0.18089,
    "h": 116.8
  },
  "luminance": 0.7779
}

Semantic roles & 50–950 ramp

primary
#DAF04F
secondary
#412FB5
accent
#05E123
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170C
muted
#85857F

Preview Lab

Preview with #DAF04F

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

Preview Lab → · Contrast checker → · Palette generator →

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