#BAF268#BAF268
#BAF268 is a very light, vivid yellow-green. Relative luminance 0.749; OKLCH L 89.5% C 0.177 H 128.1°. Best body text is #000000 at 15.99:1 contrast (WCAG AA passes).
Color values
| HEX | #BAF268 |
|---|---|
| RGB | rgb(186, 242, 104) |
| HSL | hsl(84, 84%, 68%) |
| HSV | hsv(84, 57%, 95%) |
| CMYK | cmyk(23.1%, 0%, 57%, 5.1%) |
| CIE-LAB | lab(89.37, -38.77, 59.71) |
| CIE-LCH | lch(89.37, 71.19, 123.00°) |
| OKLab | oklab(89.5% -0.1092 0.1394) |
| OKLCH | oklch(89.5% 0.177 128.1) |
| XYZ | xyz(54.5003, 74.9418, 24.6879) |
| Luminance | 0.7494 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pale Lime
#BEFD73
ΔE00 2.39
Light Lime Green
#B9FF66
ΔE00 2.99
Light Yellow Green
#CCFD7F
ΔE00 3.10
Light Pea Green
#C4FE82
ΔE00 3.29
Pear
#CBF85F
ΔE00 3.34
Light Lime
#AEFD6C
ΔE00 3.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAF268 #A068F2
analogous
#F2E568 #BAF268 #75F268
triadic
#BAF268 #68BAF2 #F268BA
tetradic
#BAF268 #68F2E5 #A068F2 #F26875
square
#BAF268 #68F2E5 #A068F2 #F26875
split-complementary
#BAF268 #6875F2 #E568F2
monochromatic
#82CE12 #A0ED30 #BAF268 #D4F7A0 #EDFCD9
Accessibility & contrast
On white
1.31
#BAF268 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.99
#BAF268 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAF268
15.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAF268 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAF268 | 1.00 | 1.31 | 15.99 | 15.99 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FDE359
Deuteranopia (green-blind)
#F5DF71
Tritanopia (blue-blind)
#BFE8D4
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #baf268; /* rgb */ color: rgb(186, 242, 104); /* oklch */ color: oklch(89.5% 0.177 128.1);
Tailwind
colors: {
custom: {
50: '#d2f697',
500: '#baf268',
950: '#000000',
},
}SCSS
$custom: #baf268; $custom-light: #d2f697; $custom-dark: #000000;
JSON
{
"hex": "#baf268",
"rgb": {
"r": 186,
"g": 242,
"b": 104
},
"hsl": {
"h": 84.348,
"s": 84.146,
"l": 67.843
},
"oklch": {
"l": 0.89503,
"c": 0.17707,
"h": 128.1
},
"luminance": 0.74943
}Semantic roles & 50–950 ramp
primary
#BAF268
secondary
#7134CA
accent
#05E15E
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170E
muted
#83857F