#DAF57B#DAF57B

#DAF57B is a very light, vivid yellow-green. Relative luminance 0.816; OKLCH L 92.5% C 0.151 H 119.8°. Best body text is #000000 at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#DAF57B
RGBrgb(218, 245, 123)
HSLhsl(73, 86%, 72%)
HSVhsv(73, 50%, 96%)
CMYKcmyk(11%, 0%, 49.8%, 3.9%)
CIE-LABlab(92.42, -26.48, 55.27)
CIE-LCHlch(92.42, 61.28, 115.60°)
OKLaboklab(92.54% -0.0749 0.1311)
OKLCHoklch(92.54% 0.151 119.8)
XYZxyz(65.1415, 81.6406, 31.0615)
Luminance0.8164 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF57B #967BF5
analogous
#F5D37B #DAF57B #9DF57B
triadic
#DAF57B #7BDAF5 #F57BDA
tetradic
#DAF57B #7BF5D3 #967BF5 #F57B9D
square
#DAF57B #7BF5D3 #967BF5 #F57B9D
split-complementary
#DAF57B #7B9DF5 #D37BF5
monochromatic
#B6E411 #CAF142 #DAF57B #EAF9B4 #F7FDE3

Accessibility & contrast

On white

1.21
#DAF57B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.33
#DAF57B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF57B
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF57B#FFFFFF#000000##000000
##DAF57B1.001.2117.3317.33
#FFFFFF1.211.0021.0021.00
#00000017.3321.001.001.00
##00000017.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE970
Deuteranopia (green-blind)
#FFEA82
Tritanopia (blue-blind)
#E4EAD9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #daf57b;
/* rgb */ color: rgb(218, 245, 123);
/* oklch */ color: oklch(92.5% 0.151 119.8);
Tailwind
colors: {
  custom: {
    50: '#e7f8a4',
    500: '#daf57b',
    950: '#000000',
  },
}
SCSS
$custom: #daf57b;
$custom-light: #e7f8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#daf57b",
  "rgb": {
    "r": 218,
    "g": 245,
    "b": 123
  },
  "hsl": {
    "h": 73.279,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.92543,
    "c": 0.15099,
    "h": 119.8
  },
  "luminance": 0.8164
}

Semantic roles & 50–950 ramp

primary
#DAF57B
secondary
#6344D0
accent
#03E235
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #DAF57B

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

Preview Lab → · Contrast checker → · Palette generator →

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