#DAF45F#DAF45F

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

Color values

HEX#DAF45F
RGBrgb(218, 244, 95)
HSLhsl(70, 87%, 66%)
HSVhsv(70, 61%, 96%)
CMYKcmyk(10.7%, 0%, 61.1%, 4.3%)
CIE-LABlab(91.88, -28.28, 66.86)
CIE-LCHlch(91.88, 72.60, 112.93°)
OKLaboklab(92.03% -0.0826 0.1531)
OKLCHoklch(92.03% 0.174 118.4)
XYZxyz(63.3308, 80.4335, 23.0132)
Luminance0.8043 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF45F #795FF4
analogous
#F4C45F #DAF45F #90F45F
triadic
#DAF45F #5FDAF4 #F45FDA
tetradic
#DAF45F #5FF4C4 #795FF4 #F45F90
square
#DAF45F #5FF4C4 #795FF4 #F45F90
split-complementary
#DAF45F #5F90F4 #C45FF4
monochromatic
#AACB0E #CDF026 #DAF45F #E7F898 #F4FCD2

Accessibility & contrast

On white

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

On black

17.09
#DAF45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF45F
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF45F#FFFFFF#000000##000000
##DAF45F1.001.2317.0917.09
#FFFFFF1.231.0021.0021.00
#00000017.0921.001.001.00
##00000017.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE74D
Deuteranopia (green-blind)
#FFE869
Tritanopia (blue-blind)
#E6E8D5
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #daf45f;
/* rgb */ color: rgb(218, 244, 95);
/* oklch */ color: oklch(92.0% 0.174 118.4);
Tailwind
colors: {
  custom: {
    50: '#e8f792',
    500: '#daf45f',
    950: '#000000',
  },
}
SCSS
$custom: #daf45f;
$custom-light: #e8f792;
$custom-dark: #000000;
JSON
{
  "hex": "#daf45f",
  "rgb": {
    "r": 218,
    "g": 244,
    "b": 95
  },
  "hsl": {
    "h": 70.47,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.92026,
    "c": 0.17399,
    "h": 118.4
  },
  "luminance": 0.80433
}

Semantic roles & 50–950 ramp

primary
#DAF45F
secondary
#4B30C7
accent
#02E429
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #DAF45F

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

Preview Lab → · Contrast checker → · Palette generator →

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