#BAF262#BAF262
#BAF262 is a very light, vivid yellow-green. Relative luminance 0.748; OKLCH L 89.4% C 0.182 H 127.6°. Best body text is #000000 at 15.97:1 contrast (WCAG AA passes).
Color values
| HEX | #BAF262 |
|---|---|
| RGB | rgb(186, 242, 98) |
| HSL | hsl(83, 85%, 67%) |
| HSV | hsv(83, 60%, 95%) |
| CMYK | cmyk(23.1%, 0%, 59.5%, 5.1%) |
| CIE-LAB | lab(89.31, -39.28, 62.22) |
| CIE-LCH | lch(89.31, 73.58, 122.27°) |
| OKLab | oklab(89.44% -0.1111 0.1441) |
| OKLCH | oklch(89.44% 0.182 127.6) |
| XYZ | xyz(54.2063, 74.8242, 23.1396) |
| Luminance | 0.7482 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pale Lime
#BEFD73
ΔE00 2.66
Pear
#CBF85F
ΔE00 2.90
Light Lime Green
#B9FF66
ΔE00 2.93
Light Yellow Green
#CCFD7F
ΔE00 3.43
Pale Lime Green
#B1FF65
ΔE00 3.50
Light Lime
#AEFD6C
ΔE00 3.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAF262 #9A62F2
analogous
#F2E262 #BAF262 #72F262
triadic
#BAF262 #62BAF2 #F262BA
tetradic
#BAF262 #62F2E2 #9A62F2 #F26272
square
#BAF262 #62F2E2 #9A62F2 #F26272
split-complementary
#BAF262 #6272F2 #E262F2
monochromatic
#81C911 #A1ED29 #BAF262 #D3F79B #ECFBD3
Accessibility & contrast
On white
1.32
#BAF262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.97
#BAF262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAF262
15.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAF262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAF262 | 1.00 | 1.32 | 15.97 | 15.97 |
| #FFFFFF | 1.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FDE352
Deuteranopia (green-blind)
#F5DF6C
Tritanopia (blue-blind)
#C0E8D3
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #baf262; /* rgb */ color: rgb(186, 242, 98); /* oklch */ color: oklch(89.4% 0.182 127.6);
Tailwind
colors: {
custom: {
50: '#d2f694',
500: '#baf262',
950: '#000000',
},
}SCSS
$custom: #baf262; $custom-light: #d2f694; $custom-dark: #000000;
JSON
{
"hex": "#baf262",
"rgb": {
"r": 186,
"g": 242,
"b": 98
},
"hsl": {
"h": 83.333,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.89441,
"c": 0.18199,
"h": 127.6
},
"luminance": 0.74825
}Semantic roles & 50–950 ramp
primary
#BAF262
secondary
#6C33C6
accent
#04E15A
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170D
muted
#83857F