#DAFA62#DAFA62

#DAFA62 is a very light, vivid yellow-green. Relative luminance 0.842; OKLCH L 93.4% C 0.179 H 120.1°. Best body text is #000000 at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#DAFA62
RGBrgb(218, 250, 98)
HSLhsl(73, 94%, 68%)
HSVhsv(73, 61%, 98%)
CMYKcmyk(12.8%, 0%, 60.8%, 2%)
CIE-LABlab(93.52, -30.86, 67.42)
CIE-LCHlch(93.52, 74.15, 114.60°)
OKLaboklab(93.35% -0.0895 0.1547)
OKLCHoklch(93.35% 0.179 120.1)
XYZxyz(65.3046, 84.1587, 24.3568)
Luminance0.8416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFA62 #8262FA
analogous
#FACE62 #DAFA62 #8EFA62
triadic
#DAFA62 #62DAFA #FA62DA
tetradic
#DAFA62 #62FACE #8262FA #FA628E
square
#DAFA62 #62FACE #8262FA #FA628E
split-complementary
#DAFA62 #628EFA #CE62FA
monochromatic
#AEDB07 #CCF827 #DAFA62 #E8FC9D #F6FED9

Accessibility & contrast

On white

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

On black

17.83
#DAFA62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFA62
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFA62#FFFFFF#000000##000000
##DAFA621.001.1817.8317.83
#FFFFFF1.181.0021.0021.00
#00000017.8321.001.001.00
##00000017.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED50
Deuteranopia (green-blind)
#FFED6C
Tritanopia (blue-blind)
#E5EEDA
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #dafa62;
/* rgb */ color: rgb(218, 250, 98);
/* oklch */ color: oklch(93.4% 0.179 120.1);
Tailwind
colors: {
  custom: {
    50: '#e8fc95',
    500: '#dafa62',
    950: '#000000',
  },
}
SCSS
$custom: #dafa62;
$custom-light: #e8fc95;
$custom-dark: #000000;
JSON
{
  "hex": "#dafa62",
  "rgb": {
    "r": 218,
    "g": 250,
    "b": 98
  },
  "hsl": {
    "h": 72.632,
    "s": 93.827,
    "l": 68.235
  },
  "oklch": {
    "l": 0.93352,
    "c": 0.17871,
    "h": 120.1
  },
  "luminance": 0.84158
}

Semantic roles & 50–950 ramp

primary
#DAFA62
secondary
#502DD3
accent
#00E630
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DAFA62

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

Preview Lab → · Contrast checker → · Palette generator →

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