#DAF74C#DAF74C

#DAF74C is a very light, vivid yellow-green. Relative luminance 0.819; OKLCH L 92.5% C 0.191 H 118.7°. Best body text is #000000 at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#DAF74C
RGBrgb(218, 247, 76)
HSLhsl(70, 91%, 63%)
HSVhsv(70, 69%, 97%)
CMYKcmyk(11.7%, 0%, 69.2%, 3.1%)
CIE-LABlab(92.55, -30.84, 74.79)
CIE-LCHlch(92.55, 80.90, 112.41°)
OKLaboklab(92.52% -0.0915 0.1671)
OKLCHoklch(92.52% 0.191 118.7)
XYZxyz(63.4800, 81.9492, 19.3097)
Luminance0.8195 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF74C #694CF7
analogous
#F7BE4C #DAF74C #85F74C
triadic
#DAF74C #4CDAF7 #F74CDA
tetradic
#DAF74C #4CF7BE #694CF7 #F74C85
square
#DAF74C #4CF7BE #694CF7 #F74C85
split-complementary
#DAF74C #4C85F7 #BE4CF7
monochromatic
#A1C009 #CEF411 #DAF74C #E6FA87 #F2FCC1

Accessibility & contrast

On white

1.21
#DAF74C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.39
#DAF74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF74C
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF74C#FFFFFF#000000##000000
##DAF74C1.001.2117.3917.39
#FFFFFF1.211.0021.0021.00
#00000017.3921.001.001.00
##00000017.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE92F
Deuteranopia (green-blind)
#FFEA5A
Tritanopia (blue-blind)
#E7EAD5
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #daf74c;
/* rgb */ color: rgb(218, 247, 76);
/* oklch */ color: oklch(92.5% 0.191 118.7);
Tailwind
colors: {
  custom: {
    50: '#e9f988',
    500: '#daf74c',
    950: '#000000',
  },
}
SCSS
$custom: #daf74c;
$custom-light: #e9f988;
$custom-dark: #000000;
JSON
{
  "hex": "#daf74c",
  "rgb": {
    "r": 218,
    "g": 247,
    "b": 76
  },
  "hsl": {
    "h": 70.175,
    "s": 91.444,
    "l": 63.333
  },
  "oklch": {
    "l": 0.92524,
    "c": 0.19054,
    "h": 118.7
  },
  "luminance": 0.81949
}

Semantic roles & 50–950 ramp

primary
#DAF74C
secondary
#432ABE
accent
#00E627
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#17170C
muted
#85857F

Preview Lab

Preview with #DAF74C

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

Preview Lab → · Contrast checker → · Palette generator →

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