#DAFA6C#DAFA6C

#DAFA6C is a very light, vivid yellow-green. Relative luminance 0.844; OKLCH L 93.5% C 0.171 H 120.5°. Best body text is #000000 at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#DAFA6C
RGBrgb(218, 250, 108)
HSLhsl(74, 93%, 70%)
HSVhsv(74, 57%, 98%)
CMYKcmyk(12.8%, 0%, 56.8%, 2%)
CIE-LABlab(93.61, -30.11, 63.32)
CIE-LCHlch(93.61, 70.12, 115.43°)
OKLaboklab(93.45% -0.0865 0.1471)
OKLCHoklch(93.45% 0.171 120.5)
XYZxyz(65.8066, 84.3595, 27.0007)
Luminance0.8436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFA6C #8C6CFA
analogous
#FAD36C #DAFA6C #93FA6C
triadic
#DAFA6C #6CDAFA #FA6CDA
tetradic
#DAFA6C #6CFAD3 #8C6CFA #FA6C93
square
#DAFA6C #6CFAD3 #8C6CFA #FA6C93
split-complementary
#DAFA6C #6C93FA #D36CFA
monochromatic
#B2E408 #CBF831 #DAFA6C #E9FCA7 #F8FEE1

Accessibility & contrast

On white

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

On black

17.87
#DAFA6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFA6C
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFA6C#FFFFFF#000000##000000
##DAFA6C1.001.1817.8717.87
#FFFFFF1.181.0021.0021.00
#00000017.8721.001.001.00
##00000017.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED5D
Deuteranopia (green-blind)
#FFED75
Tritanopia (blue-blind)
#E5EEDB
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #dafa6c;
/* rgb */ color: rgb(218, 250, 108);
/* oklch */ color: oklch(93.5% 0.171 120.5);
Tailwind
colors: {
  custom: {
    50: '#e8fc9b',
    500: '#dafa6c',
    950: '#000000',
  },
}
SCSS
$custom: #dafa6c;
$custom-light: #e8fc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#dafa6c",
  "rgb": {
    "r": 218,
    "g": 250,
    "b": 108
  },
  "hsl": {
    "h": 73.521,
    "s": 93.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.9345,
    "c": 0.17065,
    "h": 120.5
  },
  "luminance": 0.84359
}

Semantic roles & 50–950 ramp

primary
#DAFA6C
secondary
#5935D5
accent
#00E634
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DAFA6C

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

Preview Lab → · Contrast checker → · Palette generator →

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