#BAF978#BAF978
#BAF978 is a very light, vivid yellow-green. Relative luminance 0.795; OKLCH L 91.3% C 0.172 H 130.7°. Best body text is #000000 at 16.91:1 contrast (WCAG AA passes).
Color values
| HEX | #BAF978 |
|---|---|
| RGB | rgb(186, 249, 120) |
| HSL | hsl(89, 91%, 72%) |
| HSV | hsv(89, 52%, 98%) |
| CMYK | cmyk(25.3%, 0%, 51.8%, 2.4%) |
| CIE-LAB | lab(91.48, -40.36, 55.04) |
| CIE-LCH | lch(91.48, 68.25, 126.26°) |
| OKLab | oklab(91.27% -0.1124 0.1307) |
| OKLCH | oklch(91.27% 0.172 130.7) |
| XYZ | xyz(57.5149, 79.5451, 30.0892) |
| Luminance | 0.7955 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pale Lime
#BEFD73
ΔE00 1.35
Light Pea Green
#C4FE82
ΔE00 1.51
Light Yellowish Green
#C2FF89
ΔE00 2.03
Light Lime
#AEFD6C
ΔE00 2.27
Spring Green (survey)
#A9F971
ΔE00 2.27
Pistachio (survey)
#C0FA8B
ΔE00 2.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAF978 #B778F9
analogous
#F9F778 #BAF978 #7AF978
triadic
#BAF978 #78BAF9 #F978BA
tetradic
#BAF978 #78F9F7 #B778F9 #F9787A
square
#BAF978 #78F9F7 #B778F9 #F9787A
split-complementary
#BAF978 #787AF9 #F778F9
monochromatic
#7EEC0A #9CF63D #BAF978 #D8FCB3 #F0FEE2
Accessibility & contrast
On white
1.24
#BAF978 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.91
#BAF978 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAF978
16.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAF978 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAF978 | 1.00 | 1.24 | 16.91 | 16.91 |
| #FFFFFF | 1.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA6C
Deuteranopia (green-blind)
#FAE580
Tritanopia (blue-blind)
#BDF0DC
Achromatopsia (no color)
#E7E7E7
Design tokens & code
CSS
--color: #baf978; /* rgb */ color: rgb(186, 249, 120); /* oklch */ color: oklch(91.3% 0.172 130.7);
Tailwind
colors: {
custom: {
50: '#d1fba2',
500: '#baf978',
950: '#000000',
},
}SCSS
$custom: #baf978; $custom-light: #d1fba2; $custom-dark: #000000;
JSON
{
"hex": "#baf978",
"rgb": {
"r": 186,
"g": 249,
"b": 120
},
"hsl": {
"h": 89.302,
"s": 91.489,
"l": 72.353
},
"oklch": {
"l": 0.91267,
"c": 0.17236,
"h": 130.7
},
"luminance": 0.79547
}Semantic roles & 50–950 ramp
primary
#BAF978
secondary
#8940D5
accent
#00E670
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580