#DAFA7C#DAFA7C

#DAFA7C is a very light, vivid yellow-green. Relative luminance 0.847; OKLCH L 93.6% C 0.156 H 121.3°. Best body text is #000000 at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#DAFA7C
RGBrgb(218, 250, 124)
HSLhsl(75, 93%, 73%)
HSVhsv(75, 50%, 98%)
CMYKcmyk(12.8%, 0%, 50.4%, 2%)
CIE-LABlab(93.77, -28.73, 56.42)
CIE-LCHlch(93.77, 63.31, 116.99°)
OKLaboklab(93.63% -0.0812 0.1337)
OKLCHoklch(93.63% 0.156 121.3)
XYZxyz(66.7375, 84.7319, 31.9039)
Luminance0.8473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFA7C #9C7CFA
analogous
#FADB7C #DAFA7C #9BFA7C
triadic
#DAFA7C #7CDAFA #FA7CDA
tetradic
#DAFA7C #7CFADB #9C7CFA #FA7C9B
square
#DAFA7C #7CFADB #9C7CFA #FA7C9B
split-complementary
#DAFA7C #7C9BFA #DB7CFA
monochromatic
#B7F209 #C9F841 #DAFA7C #EBFCB7 #F7FEE2

Accessibility & contrast

On white

1.17
#DAFA7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.95
#DAFA7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFA7C
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFA7C#FFFFFF#000000##000000
##DAFA7C1.001.1717.9517.95
#FFFFFF1.171.0021.0021.00
#00000017.9521.001.001.00
##00000017.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE70
Deuteranopia (green-blind)
#FFED83
Tritanopia (blue-blind)
#E3EFDD
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #dafa7c;
/* rgb */ color: rgb(218, 250, 124);
/* oklch */ color: oklch(93.6% 0.156 121.3);
Tailwind
colors: {
  custom: {
    50: '#e7fca5',
    500: '#dafa7c',
    950: '#000000',
  },
}
SCSS
$custom: #dafa7c;
$custom-light: #e7fca5;
$custom-dark: #000000;
JSON
{
  "hex": "#dafa7c",
  "rgb": {
    "r": 218,
    "g": 250,
    "b": 124
  },
  "hsl": {
    "h": 75.238,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.93631,
    "c": 0.15641,
    "h": 121.3
  },
  "luminance": 0.84732
}

Semantic roles & 50–950 ramp

primary
#DAFA7C
secondary
#6943D7
accent
#00E63A
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #DAFA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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