#BAF562#BAF562
#BAF562 is a very light, vivid yellow-green. Relative luminance 0.766; OKLCH L 90.1% C 0.186 H 128.2°. Best body text is #000000 at 16.33:1 contrast (WCAG AA passes).
Color values
| HEX | #BAF562 |
|---|---|
| RGB | rgb(186, 245, 98) |
| HSL | hsl(84, 88%, 67%) |
| HSV | hsv(84, 60%, 96%) |
| CMYK | cmyk(24.1%, 0%, 60%, 3.9%) |
| CIE-LAB | lab(90.15, -40.61, 63.15) |
| CIE-LCH | lch(90.15, 75.08, 122.75°) |
| OKLab | oklab(90.12% -0.1148 0.1461) |
| OKLCH | oklch(90.12% 0.186 128.2) |
| XYZ | xyz(55.1065, 76.6247, 23.4396) |
| Luminance | 0.7663 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pale Lime
#BEFD73
ΔE00 2.19
Light Lime Green
#B9FF66
ΔE00 2.25
Pear
#CBF85F
ΔE00 2.85
Pale Lime Green
#B1FF65
ΔE00 2.88
Light Lime
#AEFD6C
ΔE00 3.18
Light Yellow Green
#CCFD7F
ΔE00 3.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAF562 #9D62F5
analogous
#F5E762 #BAF562 #70F562
triadic
#BAF562 #62BAF5 #F562BA
tetradic
#BAF562 #62F5E7 #9D62F5 #F56270
square
#BAF562 #62F5E7 #9D62F5 #F56270
split-complementary
#BAF562 #6270F5 #E762F5
monochromatic
#81CF0D #A1F128 #BAF562 #D3F99C #EDFCD5
Accessibility & contrast
On white
1.29
#BAF562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.33
#BAF562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAF562
16.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAF562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAF562 | 1.00 | 1.29 | 16.33 | 16.33 |
| #FFFFFF | 1.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE551
Deuteranopia (green-blind)
#F8E26D
Tritanopia (blue-blind)
#C0EBD6
Achromatopsia (no color)
#E3E3E3
Design tokens & code
CSS
--color: #baf562; /* rgb */ color: rgb(186, 245, 98); /* oklch */ color: oklch(90.1% 0.186 128.2);
Tailwind
colors: {
custom: {
50: '#d2f894',
500: '#baf562',
950: '#000000',
},
}SCSS
$custom: #baf562; $custom-light: #d2f894; $custom-dark: #000000;
JSON
{
"hex": "#baf562",
"rgb": {
"r": 186,
"g": 245,
"b": 98
},
"hsl": {
"h": 84.082,
"s": 88.024,
"l": 67.255
},
"oklch": {
"l": 0.90119,
"c": 0.18581,
"h": 128.2
},
"luminance": 0.76626
}Semantic roles & 50–950 ramp
primary
#BAF562
secondary
#6E30CB
accent
#01E55C
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170D
muted
#83857F