#BAF962#BAF962
#BAF962 is a very light, vivid yellow-green. Relative luminance 0.791; OKLCH L 91.0% C 0.191 H 128.8°. Best body text is #000000 at 16.81:1 contrast (WCAG AA passes).
Color values
| HEX | #BAF962 |
|---|---|
| RGB | rgb(186, 249, 98) |
| HSL | hsl(85, 93%, 68%) |
| HSV | hsv(85, 61%, 98%) |
| CMYK | cmyk(25.3%, 0%, 60.6%, 2.4%) |
| CIE-LAB | lab(91.27, -42.37, 64.39) |
| CIE-LCH | lch(91.27, 77.08, 123.35°) |
| OKLab | oklab(91.03% -0.1196 0.1488) |
| OKLCH | oklch(91.03% 0.191 128.8) |
| XYZ | xyz(56.3297, 79.0711, 23.8474) |
| Luminance | 0.7907 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Lime Green
#B9FF66
ΔE00 1.39
Pale Lime
#BEFD73
ΔE00 1.78
Pale Lime Green
#B1FF65
ΔE00 2.14
Light Lime
#AEFD6C
ΔE00 2.66
Key Lime
#AEFF6E
ΔE00 2.99
Pear
#CBF85F
ΔE00 3.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAF962 #A162F9
analogous
#F9EC62 #BAF962 #6EF962
triadic
#BAF962 #62BAF9 #F962BA
tetradic
#BAF962 #62F9EC #A162F9 #F9626E
square
#BAF962 #62F9EC #A162F9 #F9626E
split-complementary
#BAF962 #626EF9 #EC62F9
monochromatic
#82D808 #A0F727 #BAF962 #D4FB9D #EEFED8
Accessibility & contrast
On white
1.25
#BAF962 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.81
#BAF962 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAF962
16.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAF962 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAF962 | 1.00 | 1.25 | 16.81 | 16.81 |
| #FFFFFF | 1.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE950
Deuteranopia (green-blind)
#FBE56D
Tritanopia (blue-blind)
#BFEFD9
Achromatopsia (no color)
#E6E6E6
Design tokens & code
CSS
--color: #baf962; /* rgb */ color: rgb(186, 249, 98); /* oklch */ color: oklch(91.0% 0.191 128.8);
Tailwind
colors: {
custom: {
50: '#d2fb94',
500: '#baf962',
950: '#000000',
},
}SCSS
$custom: #baf962; $custom-light: #d2fb94; $custom-dark: #000000;
JSON
{
"hex": "#baf962",
"rgb": {
"r": 186,
"g": 249,
"b": 98
},
"hsl": {
"h": 85.033,
"s": 92.638,
"l": 68.039
},
"oklch": {
"l": 0.91025,
"c": 0.19089,
"h": 128.8
},
"luminance": 0.79072
}Semantic roles & 50–950 ramp
primary
#BAF962
secondary
#722DD2
accent
#00E660
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F