#DAF397#DAF397

#DAF397 is a very light, moderate yellow-green. Relative luminance 0.812; OKLCH L 92.5% C 0.120 H 121.2°. Best body text is #000000 at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#DAF397
RGBrgb(218, 243, 151)
HSLhsl(76, 79%, 77%)
HSVhsv(76, 38%, 95%)
CMYKcmyk(10.3%, 0%, 37.9%, 4.7%)
CIE-LABlab(92.24, -22.56, 41.67)
CIE-LCHlch(92.24, 47.39, 118.43°)
OKLaboklab(92.52% -0.0619 0.1023)
OKLCHoklch(92.52% 0.12 121.2)
XYZxyz(66.5498, 81.2410, 41.4473)
Luminance0.8124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF397 #B097F3
analogous
#F3DE97 #DAF397 #ACF397
triadic
#DAF397 #97DAF3 #F397DA
tetradic
#DAF397 #97F3DE #B097F3 #F397AC
square
#DAF397 #97F3DE #B097F3 #F397AC
split-complementary
#DAF397 #97ACF3 #DE97F3
monochromatic
#B3E629 #C6ED60 #DAF397 #EEF9CE #F5FCE4

Accessibility & contrast

On white

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

On black

17.25
#DAF397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF397
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF397#FFFFFF#000000##000000
##DAF3971.001.2217.2517.25
#FFFFFF1.221.0021.0021.00
#00000017.2521.001.001.00
##00000017.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE990
Deuteranopia (green-blind)
#FAE99B
Tritanopia (blue-blind)
#E1EADC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #daf397;
/* rgb */ color: rgb(218, 243, 151);
/* oklch */ color: oklch(92.5% 0.120 121.2);
Tailwind
colors: {
  custom: {
    50: '#e6f7b6',
    500: '#daf397',
    950: '#000000',
  },
}
SCSS
$custom: #daf397;
$custom-light: #e6f7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#daf397",
  "rgb": {
    "r": 218,
    "g": 243,
    "b": 151
  },
  "hsl": {
    "h": 76.304,
    "s": 79.31,
    "l": 77.255
  },
  "oklch": {
    "l": 0.92517,
    "c": 0.11952,
    "h": 121.2
  },
  "luminance": 0.81241
}

Semantic roles & 50–950 ramp

primary
#DAF397
secondary
#7D5DD1
accent
#0ADC43
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#161711
muted
#848581

Preview Lab

Preview with #DAF397

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

Preview Lab → · Contrast checker → · Palette generator →

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