#BACB3A#BACB3A
#BACB3A is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.3% C 0.164 H 116.1°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).
Color values
| HEX | #BACB3A |
|---|---|
| RGB | rgb(186, 203, 58) |
| HSL | hsl(67, 58%, 51%) |
| HSV | hsv(67, 71%, 80%) |
| CMYK | cmyk(8.4%, 0%, 71.4%, 20.4%) |
| CIE-LAB | lab(78.14, -23.84, 66.19) |
| CIE-LCH | lch(78.14, 70.36, 109.81°) |
| OKLab | oklab(80.34% -0.0719 0.147) |
| OKLCH | oklch(80.34% 0.164 116.1) |
| XYZ | xyz(42.3704, 53.4571, 12.0884) |
| Luminance | 0.5346 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.80
Baby Puke Green
#B6C406
ΔE00 3.12
Bile
#B5C306
ΔE00 3.22
Pea
#A4BF20
ΔE00 4.13
Snot
#ACBB0D
ΔE00 4.48
Gross Green
#A0BF16
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BACB3A #4B3ACB
analogous
#CB933A #BACB3A #71CB3A
triadic
#BACB3A #3ABACB #CB3ABA
tetradic
#BACB3A #3ACB93 #4B3ACB #CB3A71
square
#BACB3A #3ACB93 #4B3ACB #CB3A71
split-complementary
#BACB3A #3A71CB #933ACB
monochromatic
#646E1D #909E2A #BACB3A #CBD86A #DCE59B
Accessibility & contrast
On white
1.80
#BACB3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.69
#BACB3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BACB3A
11.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BACB3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BACB3A | 1.00 | 1.80 | 11.69 | 11.69 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C01F
Deuteranopia (green-blind)
#D8C246
Tritanopia (blue-blind)
#C6BFAF
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #bacb3a; /* rgb */ color: rgb(186, 203, 58); /* oklch */ color: oklch(80.3% 0.164 116.1);
Tailwind
colors: {
custom: {
50: '#d2da7a',
500: '#bacb3a',
950: '#000000',
},
}SCSS
$custom: #bacb3a; $custom-light: #d2da7a; $custom-dark: #000000;
JSON
{
"hex": "#bacb3a",
"rgb": {
"r": 186,
"g": 203,
"b": 58
},
"hsl": {
"h": 67.034,
"s": 58.233,
"l": 51.176
},
"oklch": {
"l": 0.80342,
"c": 0.16368,
"h": 116.1
},
"luminance": 0.53456
}Semantic roles & 50–950 ramp
primary
#BACB3A
secondary
#3A3277
accent
#46E159
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D