#BAF398#BAF398
#BAF398 is a very light, vivid yellow-green. Relative luminance 0.768; OKLCH L 90.4% C 0.132 H 134.5°. Best body text is #000000 at 16.36:1 contrast (WCAG AA passes).
Color values
| HEX | #BAF398 |
|---|---|
| RGB | rgb(186, 243, 152) |
| HSL | hsl(98, 79%, 77%) |
| HSV | hsv(98, 37%, 95%) |
| CMYK | cmyk(23.5%, 0%, 37.4%, 4.7%) |
| CIE-LAB | lab(90.23, -33.88, 38.18) |
| CIE-LCH | lch(90.23, 51.05, 131.58°) |
| OKLab | oklab(90.39% -0.0926 0.0944) |
| OKLCH | oklch(90.39% 0.132 134.5) |
| XYZ | xyz(57.9665, 76.8058, 41.4706) |
| Luminance | 0.7681 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Tea Green
#BDF8A3
ΔE00 1.66
Washed Out Green
#BCF5A6
ΔE00 2.27
Celery
#C1FD95
ΔE00 2.70
Pale Light Green
#B1FC99
ΔE00 2.82
Light Pastel Green
#B2FBA5
ΔE00 3.19
Pistachio (survey)
#C0FA8B
ΔE00 3.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAF398 #D198F3
analogous
#E8F398 #BAF398 #98F3A3
triadic
#BAF398 #98BAF3 #F398BA
tetradic
#BAF398 #98E8F3 #D198F3 #F3A398
square
#BAF398 #98E8F3 #D198F3 #F3A398
split-complementary
#BAF398 #A398F3 #F398E8
monochromatic
#71E62A #95ED61 #BAF398 #DFF9CF #EDFCE4
Accessibility & contrast
On white
1.28
#BAF398 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.36
#BAF398 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAF398
16.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAF398 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAF398 | 1.00 | 1.28 | 16.36 | 16.36 |
| #FFFFFF | 1.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FAE691
Deuteranopia (green-blind)
#F1E19D
Tritanopia (blue-blind)
#BAECDC
Achromatopsia (no color)
#E3E3E3
Design tokens & code
CSS
--color: #baf398; /* rgb */ color: rgb(186, 243, 152); /* oklch */ color: oklch(90.4% 0.132 134.5);
Tailwind
colors: {
custom: {
50: '#d0f7b7',
500: '#baf398',
950: '#000000',
},
}SCSS
$custom: #baf398; $custom-light: #d0f7b7; $custom-dark: #000000;
JSON
{
"hex": "#baf398",
"rgb": {
"r": 186,
"g": 243,
"b": 152
},
"hsl": {
"h": 97.582,
"s": 79.13,
"l": 77.451
},
"oklch": {
"l": 0.90394,
"c": 0.13226,
"h": 134.5
},
"luminance": 0.76807
}Semantic roles & 50–950 ramp
primary
#BAF398
secondary
#A65ED1
accent
#0ADB8D
background
#FEFFFD
surface
#FBFEF8
border
#D4D6D1
text
#141711
muted
#838581