#DAF47B#DAF47B

#DAF47B is a very light, vivid yellow-green. Relative luminance 0.810; OKLCH L 92.3% C 0.150 H 119.5°. Best body text is #000000 at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#DAF47B
RGBrgb(218, 244, 123)
HSLhsl(73, 85%, 72%)
HSVhsv(73, 50%, 96%)
CMYKcmyk(10.7%, 0%, 49.6%, 4.3%)
CIE-LABlab(92.15, -26.00, 54.95)
CIE-LCHlch(92.15, 60.79, 115.33°)
OKLaboklab(92.33% -0.0736 0.1304)
OKLCHoklch(92.33% 0.15 119.5)
XYZxyz(64.8398, 81.0371, 30.9609)
Luminance0.8104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF47B #957BF4
analogous
#F4D27B #DAF47B #9DF47B
triadic
#DAF47B #7BDAF4 #F47BDA
tetradic
#DAF47B #7BF4D2 #957BF4 #F47B9D
square
#DAF47B #7BF4D2 #957BF4 #F47B9D
split-complementary
#DAF47B #7B9DF4 #D27BF4
monochromatic
#B5E213 #CAEF43 #DAF47B #EAF9B3 #F7FDE3

Accessibility & contrast

On white

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

On black

17.21
#DAF47B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF47B
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF47B#FFFFFF#000000##000000
##DAF47B1.001.2217.2117.21
#FFFFFF1.221.0021.0021.00
#00000017.2121.001.001.00
##00000017.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE970
Deuteranopia (green-blind)
#FEE982
Tritanopia (blue-blind)
#E4E9D8
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #daf47b;
/* rgb */ color: rgb(218, 244, 123);
/* oklch */ color: oklch(92.3% 0.150 119.5);
Tailwind
colors: {
  custom: {
    50: '#e7f7a4',
    500: '#daf47b',
    950: '#000000',
  },
}
SCSS
$custom: #daf47b;
$custom-light: #e7f7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#daf47b",
  "rgb": {
    "r": 218,
    "g": 244,
    "b": 123
  },
  "hsl": {
    "h": 72.893,
    "s": 84.615,
    "l": 71.961
  },
  "oklch": {
    "l": 0.92328,
    "c": 0.14973,
    "h": 119.5
  },
  "luminance": 0.81037
}

Semantic roles & 50–950 ramp

primary
#DAF47B
secondary
#6244CF
accent
#04E134
background
#FEFFFC
surface
#FDFEF6
border
#D5D6D0
text
#16170F
muted
#848580

Preview Lab

Preview with #DAF47B

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

Preview Lab → · Contrast checker → · Palette generator →

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