#DAF56B#DAF56B

#DAF56B is a very light, vivid yellow-green. Relative luminance 0.813; OKLCH L 92.4% C 0.165 H 119.0°. Best body text is #000000 at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#DAF56B
RGBrgb(218, 245, 107)
HSLhsl(72, 87%, 69%)
HSVhsv(72, 56%, 96%)
CMYKcmyk(11%, 0%, 56.3%, 3.9%)
CIE-LABlab(92.25, -27.86, 62.23)
CIE-LCHlch(92.25, 68.18, 114.12°)
OKLaboklab(92.36% -0.0803 0.1447)
OKLCHoklch(92.36% 0.165 119)
XYZxyz(64.2205, 81.2722, 26.2110)
Luminance0.8127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF56B #866BF5
analogous
#F5CB6B #DAF56B #95F56B
triadic
#DAF56B #6BDAF5 #F56BDA
tetradic
#DAF56B #6BF5CB #866BF5 #F56B95
square
#DAF56B #6BF5CB #866BF5 #F56B95
split-complementary
#DAF56B #6B95F5 #CB6BF5
monochromatic
#B0D70F #CCF132 #DAF56B #E8F9A4 #F7FDDE

Accessibility & contrast

On white

1.22
#DAF56B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.25
#DAF56B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF56B
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF56B#FFFFFF#000000##000000
##DAF56B1.001.2217.2517.25
#FFFFFF1.221.0021.0021.00
#00000017.2521.001.001.00
##00000017.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE95C
Deuteranopia (green-blind)
#FFE974
Tritanopia (blue-blind)
#E5E9D7
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #daf56b;
/* rgb */ color: rgb(218, 245, 107);
/* oklch */ color: oklch(92.4% 0.165 119.0);
Tailwind
colors: {
  custom: {
    50: '#e8f89a',
    500: '#daf56b',
    950: '#000000',
  },
}
SCSS
$custom: #daf56b;
$custom-light: #e8f89a;
$custom-dark: #000000;
JSON
{
  "hex": "#daf56b",
  "rgb": {
    "r": 218,
    "g": 245,
    "b": 107
  },
  "hsl": {
    "h": 71.739,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.92359,
    "c": 0.16544,
    "h": 119
  },
  "luminance": 0.81272
}

Semantic roles & 50–950 ramp

primary
#DAF56B
secondary
#5436CE
accent
#02E42E
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DAF56B

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

Preview Lab → · Contrast checker → · Palette generator →

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