#BACB36#BACB36
#BACB36 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.3% C 0.166 H 116.0°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #BACB36 |
|---|---|
| RGB | rgb(186, 203, 54) |
| HSL | hsl(67, 59%, 50%) |
| HSV | hsv(67, 73%, 80%) |
| CMYK | cmyk(8.4%, 0%, 73.4%, 20.4%) |
| CIE-LAB | lab(78.12, -24.03, 67.54) |
| CIE-LCH | lch(78.12, 71.69, 109.59°) |
| OKLab | oklab(80.32% -0.0728 0.1492) |
| OKLCH | oklch(80.32% 0.166 116) |
| XYZ | xyz(42.2726, 53.4179, 11.5731) |
| Luminance | 0.5342 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.51
Baby Puke Green
#B6C406
ΔE00 2.85
Bile
#B5C306
ΔE00 2.96
Pea
#A4BF20
ΔE00 4.12
Snot
#ACBB0D
ΔE00 4.36
Gross Green
#A0BF16
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BACB36 #4736CB
analogous
#CB9236 #BACB36 #6FCB36
triadic
#BACB36 #36BACB #CB36BA
tetradic
#BACB36 #36CB92 #4736CB #CB366F
square
#BACB36 #36CB92 #4736CB #CB366F
split-complementary
#BACB36 #366FCB #9236CB
monochromatic
#626B1C #8E9C28 #BACB36 #CBD867 #DBE497
Accessibility & contrast
On white
1.80
#BACB36 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.68
#BACB36 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BACB36
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BACB36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BACB36 | 1.00 | 1.80 | 11.68 | 11.68 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C016
Deuteranopia (green-blind)
#D8C243
Tritanopia (blue-blind)
#C6BFAF
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #bacb36; /* rgb */ color: rgb(186, 203, 54); /* oklch */ color: oklch(80.3% 0.166 116.0);
Tailwind
colors: {
custom: {
50: '#d2da78',
500: '#bacb36',
950: '#000000',
},
}SCSS
$custom: #bacb36; $custom-light: #d2da78; $custom-dark: #000000;
JSON
{
"hex": "#bacb36",
"rgb": {
"r": 186,
"g": 203,
"b": 54
},
"hsl": {
"h": 66.846,
"s": 58.893,
"l": 50.392
},
"oklch": {
"l": 0.80316,
"c": 0.16602,
"h": 116
},
"luminance": 0.53417
}Semantic roles & 50–950 ramp
primary
#BACB36
secondary
#383175
accent
#46E258
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#15140A
muted
#84837D