#DAFA57#DAFA57

#DAFA57 is a very light, vivid yellow-green. Relative luminance 0.840; OKLCH L 93.3% C 0.187 H 119.7°. Best body text is #000000 at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#DAFA57
RGBrgb(218, 250, 87)
HSLhsl(72, 94%, 66%)
HSVhsv(72, 65%, 98%)
CMYKcmyk(12.8%, 0%, 65.2%, 2%)
CIE-LABlab(93.44, -31.59, 71.67)
CIE-LCHlch(93.44, 78.32, 113.79°)
OKLaboklab(93.26% -0.0926 0.1622)
OKLCHoklch(93.26% 0.187 119.7)
XYZxyz(64.8204, 83.9651, 21.8070)
Luminance0.8397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFA57 #7757FA
analogous
#FAC857 #DAFA57 #88FA57
triadic
#DAFA57 #57DAFA #FA57DA
tetradic
#DAFA57 #57FAC8 #7757FA #FA5788
square
#DAFA57 #57FAC8 #7757FA #FA5788
split-complementary
#DAFA57 #5788FA #C857FA
monochromatic
#A9D006 #CDF81C #DAFA57 #E7FC92 #F4FECE

Accessibility & contrast

On white

1.18
#DAFA57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.79
#DAFA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFA57
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFA57#FFFFFF#000000##000000
##DAFA571.001.1817.7917.79
#FFFFFF1.181.0021.0021.00
#00000017.7921.001.001.00
##00000017.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC40
Deuteranopia (green-blind)
#FFED63
Tritanopia (blue-blind)
#E6EDD9
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #dafa57;
/* rgb */ color: rgb(218, 250, 87);
/* oklch */ color: oklch(93.3% 0.187 119.7);
Tailwind
colors: {
  custom: {
    50: '#e9fc8e',
    500: '#dafa57',
    950: '#000000',
  },
}
SCSS
$custom: #dafa57;
$custom-light: #e9fc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#dafa57",
  "rgb": {
    "r": 218,
    "g": 250,
    "b": 87
  },
  "hsl": {
    "h": 71.779,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.93257,
    "c": 0.18675,
    "h": 119.7
  },
  "luminance": 0.83965
}

Semantic roles & 50–950 ramp

primary
#DAFA57
secondary
#492ACB
accent
#00E62D
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #DAFA57

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

Preview Lab → · Contrast checker → · Palette generator →

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