#BAF162#BAF162
#BAF162 is a very light, vivid yellow-green. Relative luminance 0.742; OKLCH L 89.2% C 0.181 H 127.4°. Best body text is #000000 at 15.85:1 contrast (WCAG AA passes).
Color values
| HEX | #BAF162 |
|---|---|
| RGB | rgb(186, 241, 98) |
| HSL | hsl(83, 84%, 66%) |
| HSV | hsv(83, 59%, 95%) |
| CMYK | cmyk(22.8%, 0%, 59.3%, 5.5%) |
| CIE-LAB | lab(89.03, -38.84, 61.91) |
| CIE-LCH | lch(89.03, 73.08, 122.10°) |
| OKLab | oklab(89.22% -0.1099 0.1435) |
| OKLCH | oklch(89.22% 0.181 127.4) |
| XYZ | xyz(53.9095, 74.2306, 23.0406) |
| Luminance | 0.7423 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pale Lime
#BEFD73
ΔE00 2.84
Pear
#CBF85F
ΔE00 2.95
Light Lime Green
#B9FF66
ΔE00 3.16
Light Yellow Green
#CCFD7F
ΔE00 3.51
Pale Lime Green
#B1FF65
ΔE00 3.72
Light Lime
#AEFD6C
ΔE00 3.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAF162 #9962F1
analogous
#F1E162 #BAF162 #73F162
triadic
#BAF162 #62BAF1 #F162BA
tetradic
#BAF162 #62F1E1 #9962F1 #F16273
square
#BAF162 #62F1E1 #9962F1 #F16273
split-complementary
#BAF162 #6273F1 #E162F1
monochromatic
#81C712 #A1EC2A #BAF162 #D3F69A #EBFBD2
Accessibility & contrast
On white
1.33
#BAF162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.85
#BAF162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAF162
15.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAF162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAF162 | 1.00 | 1.33 | 15.85 | 15.85 |
| #FFFFFF | 1.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FCE252
Deuteranopia (green-blind)
#F5DF6C
Tritanopia (blue-blind)
#C0E7D2
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #baf162; /* rgb */ color: rgb(186, 241, 98); /* oklch */ color: oklch(89.2% 0.181 127.4);
Tailwind
colors: {
custom: {
50: '#d2f694',
500: '#baf162',
950: '#000000',
},
}SCSS
$custom: #baf162; $custom-light: #d2f694; $custom-dark: #000000;
JSON
{
"hex": "#baf162",
"rgb": {
"r": 186,
"g": 241,
"b": 98
},
"hsl": {
"h": 83.077,
"s": 83.626,
"l": 66.471
},
"oklch": {
"l": 0.89215,
"c": 0.18072,
"h": 127.4
},
"luminance": 0.74232
}Semantic roles & 50–950 ramp
primary
#BAF162
secondary
#6B33C4
accent
#05E05A
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170D
muted
#83857F