#DAF45B#DAF45B

#DAF45B is a very light, vivid yellow-green. Relative luminance 0.804; OKLCH L 92.0% C 0.177 H 118.2°. Best body text is #000000 at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#DAF45B
RGBrgb(218, 244, 91)
HSLhsl(70, 87%, 66%)
HSVhsv(70, 63%, 96%)
CMYKcmyk(10.7%, 0%, 62.7%, 4.3%)
CIE-LABlab(91.85, -28.55, 68.44)
CIE-LCHlch(91.85, 74.16, 112.65°)
OKLaboklab(91.99% -0.0837 0.1559)
OKLCHoklch(91.99% 0.177 118.2)
XYZxyz(63.1536, 80.3626, 22.0801)
Luminance0.8036 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF45B #755BF4
analogous
#F4C15B #DAF45B #8DF45B
triadic
#DAF45B #5BDAF4 #F45BDA
tetradic
#DAF45B #5BF4C1 #755BF4 #F45B8D
square
#DAF45B #5BF4C1 #755BF4 #F45B8D
split-complementary
#DAF45B #5B8DF4 #C15BF4
monochromatic
#A8C70D #CDF022 #DAF45B #E7F894 #F4FCCE

Accessibility & contrast

On white

1.23
#DAF45B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.07
#DAF45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF45B
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF45B#FFFFFF#000000##000000
##DAF45B1.001.2317.0717.07
#FFFFFF1.231.0021.0021.00
#00000017.0721.001.001.00
##00000017.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE747
Deuteranopia (green-blind)
#FFE866
Tritanopia (blue-blind)
#E6E7D4
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #daf45b;
/* rgb */ color: rgb(218, 244, 91);
/* oklch */ color: oklch(92.0% 0.177 118.2);
Tailwind
colors: {
  custom: {
    50: '#e8f790',
    500: '#daf45b',
    950: '#000000',
  },
}
SCSS
$custom: #daf45b;
$custom-light: #e8f790;
$custom-dark: #000000;
JSON
{
  "hex": "#daf45b",
  "rgb": {
    "r": 218,
    "g": 244,
    "b": 91
  },
  "hsl": {
    "h": 70.196,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.9199,
    "c": 0.177,
    "h": 118.2
  },
  "luminance": 0.80362
}

Semantic roles & 50–950 ramp

primary
#DAF45B
secondary
#482FC4
accent
#02E428
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #DAF45B

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

Preview Lab → · Contrast checker → · Palette generator →

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