#DAF381#DAF381

#DAF381 is a very light, vivid yellow-green. Relative luminance 0.806; OKLCH L 92.2% C 0.143 H 119.5°. Best body text is #000000 at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#DAF381
RGBrgb(218, 243, 129)
HSLhsl(73, 83%, 73%)
HSVhsv(73, 47%, 95%)
CMYKcmyk(10.3%, 0%, 46.9%, 4.7%)
CIE-LABlab(91.95, -24.95, 51.91)
CIE-LCHlch(91.95, 57.60, 115.67°)
OKLaboklab(92.19% -0.0701 0.1242)
OKLCHoklch(92.19% 0.143 119.5)
XYZxyz(64.9269, 80.5919, 32.9000)
Luminance0.8059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF381 #9A81F3
analogous
#F3D381 #DAF381 #A1F381
triadic
#DAF381 #81DAF3 #F381DA
tetradic
#DAF381 #81F3D3 #9A81F3 #F381A1
square
#DAF381 #81F3D3 #9A81F3 #F381A1
split-complementary
#DAF381 #81A1F3 #D381F3
monochromatic
#B7E416 #CAEE49 #DAF381 #EAF8B9 #F7FCE3

Accessibility & contrast

On white

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

On black

17.12
#DAF381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF381
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF381#FFFFFF#000000##000000
##DAF3811.001.2317.1217.12
#FFFFFF1.231.0021.0021.00
#00000017.1221.001.001.00
##00000017.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #daf381;
/* rgb */ color: rgb(218, 243, 129);
/* oklch */ color: oklch(92.2% 0.143 119.5);
Tailwind
colors: {
  custom: {
    50: '#e7f7a8',
    500: '#daf381',
    950: '#000000',
  },
}
SCSS
$custom: #daf381;
$custom-light: #e7f7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#daf381",
  "rgb": {
    "r": 218,
    "g": 243,
    "b": 129
  },
  "hsl": {
    "h": 73.158,
    "s": 82.609,
    "l": 72.941
  },
  "oklch": {
    "l": 0.92192,
    "c": 0.14261,
    "h": 119.5
  },
  "luminance": 0.80592
}

Semantic roles & 50–950 ramp

primary
#DAF381
secondary
#674ACF
accent
#06DF36
background
#FEFFFD
surface
#FDFEF7
border
#D5D6D0
text
#161710
muted
#848581

Preview Lab

Preview with #DAF381

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

Preview Lab → · Contrast checker → · Palette generator →

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