#DAFA5C#DAFA5C

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

Color values

HEX#DAFA5C
RGBrgb(218, 250, 92)
HSLhsl(72, 94%, 67%)
HSVhsv(72, 63%, 98%)
CMYKcmyk(12.8%, 0%, 63.2%, 2%)
CIE-LABlab(93.47, -31.27, 69.77)
CIE-LCHlch(93.47, 76.46, 114.14°)
OKLaboklab(93.3% -0.0912 0.1589)
OKLCHoklch(93.3% 0.183 119.9)
XYZxyz(65.0318, 84.0496, 22.9204)
Luminance0.8405 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFA5C #7C5CFA
analogous
#FACB5C #DAFA5C #8BFA5C
triadic
#DAFA5C #5CDAFA #FA5CDA
tetradic
#DAFA5C #5CFACB #7C5CFA #FA5C8B
square
#DAFA5C #5CFACB #7C5CFA #FA5C8B
split-complementary
#DAFA5C #5C8BFA #CB5CFA
monochromatic
#ABD507 #CDF821 #DAFA5C #E7FC97 #F5FED3

Accessibility & contrast

On white

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

On black

17.81
#DAFA5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFA5C
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFA5C#FFFFFF#000000##000000
##DAFA5C1.001.1817.8117.81
#FFFFFF1.181.0021.0021.00
#00000017.8121.001.001.00
##00000017.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dafa5c;
/* rgb */ color: rgb(218, 250, 92);
/* oklch */ color: oklch(93.3% 0.183 119.9);
Tailwind
colors: {
  custom: {
    50: '#e9fc91',
    500: '#dafa5c',
    950: '#000000',
  },
}
SCSS
$custom: #dafa5c;
$custom-light: #e9fc91;
$custom-dark: #000000;
JSON
{
  "hex": "#dafa5c",
  "rgb": {
    "r": 218,
    "g": 250,
    "b": 92
  },
  "hsl": {
    "h": 72.152,
    "s": 94.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.93299,
    "c": 0.18321,
    "h": 119.9
  },
  "luminance": 0.84049
}

Semantic roles & 50–950 ramp

primary
#DAFA5C
secondary
#4C2BCF
accent
#00E62E
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #DAFA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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