#BACF42#BACF42
#BACF42 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.3% C 0.163 H 117.5°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).
Color values
| HEX | #BACF42 |
|---|---|
| RGB | rgb(186, 207, 66) |
| HSL | hsl(69, 59%, 54%) |
| HSV | hsv(69, 68%, 81%) |
| CMYK | cmyk(10.1%, 0%, 68.1%, 18.8%) |
| CIE-LAB | lab(79.30, -25.34, 64.43) |
| CIE-LCH | lch(79.30, 69.24, 111.47°) |
| OKLab | oklab(81.29% -0.0753 0.1446) |
| OKLCH | oklch(81.29% 0.163 117.5) |
| XYZ | xyz(43.5468, 55.4586, 13.5637) |
| Luminance | 0.5546 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.17
Baby Puke Green
#B6C406
ΔE00 4.36
Bile
#B5C306
ΔE00 4.47
Pea
#A4BF20
ΔE00 4.69
Gross Green
#A0BF16
ΔE00 5.15
Yellowish Green
#B0DD16
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BACF42 #5742CF
analogous
#CF9D42 #BACF42 #73CF42
triadic
#BACF42 #42BACF #CF42BA
tetradic
#BACF42 #42CF9D #5742CF #CF4273
square
#BACF42 #42CF9D #5742CF #CF4273
split-complementary
#BACF42 #4273CF #9D42CF
monochromatic
#6B781F #96A92B #BACF42 #CCDB73 #DEE8A4
Accessibility & contrast
On white
1.74
#BACF42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.09
#BACF42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BACF42
12.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BACF42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BACF42 | 1.00 | 1.74 | 12.09 | 12.09 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC42C
Deuteranopia (green-blind)
#DBC54D
Tritanopia (blue-blind)
#C5C4B3
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #bacf42; /* rgb */ color: rgb(186, 207, 66); /* oklch */ color: oklch(81.3% 0.163 117.5);
Tailwind
colors: {
custom: {
50: '#d2dd7e',
500: '#bacf42',
950: '#000000',
},
}SCSS
$custom: #bacf42; $custom-light: #d2dd7e; $custom-dark: #000000;
JSON
{
"hex": "#bacf42",
"rgb": {
"r": 186,
"g": 207,
"b": 66
},
"hsl": {
"h": 68.936,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.8129,
"c": 0.16307,
"h": 117.5
},
"luminance": 0.55458
}Semantic roles & 50–950 ramp
primary
#BACF42
secondary
#403580
accent
#45E35D
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D