Bile#B5C306
#B5C306 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.0% C 0.176 H 114.9°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).
Color values
| HEX | #B5C306 |
|---|---|
| RGB | rgb(181, 195, 6) |
| HSL | hsl(64, 94%, 39%) |
| HSV | hsv(64, 97%, 76%) |
| CMYK | cmyk(7.2%, 0%, 96.9%, 23.5%) |
| CIE-LAB | lab(75.37, -23.54, 75.29) |
| CIE-LCH | lch(75.37, 78.89, 107.37°) |
| OKLab | oklab(77.96% -0.0738 0.1593) |
| OKLCH | oklch(77.96% 0.176 114.9) |
| XYZ | xyz(38.6053, 48.8679, 7.5710) |
| Luminance | 0.4887 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 0.00
Baby Puke Green
#B6C406
ΔE00 0.27
Snot
#ACBB0D
ΔE00 2.31
Green Yellow
#B5CE08
ΔE00 3.14
Mustard Green
#A8B504
ΔE00 3.80
Pea
#A4BF20
ΔE00 3.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5C306 #1406C3
analogous
#C37206 #B5C306 #57C306
triadic
#B5C306 #06B5C3 #C306B5
tetradic
#B5C306 #06C372 #1406C3 #C30657
square
#B5C306 #06C372 #1406C3 #C30657
split-complementary
#B5C306 #0657C3 #7206C3
monochromatic
#474C02 #7E8804 #B5C306 #E6F80F #ECF94A
Accessibility & contrast
On white
1.95
#B5C306 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.77
#B5C306 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5C306
10.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5C306 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5C306 | 1.00 | 1.95 | 10.77 | 10.77 |
| #FFFFFF | 1.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2B800
Deuteranopia (green-blind)
#D1BB26
Tritanopia (blue-blind)
#C2B7A6
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #b5c306; /* rgb */ color: rgb(181, 195, 6); /* oklch */ color: oklch(78.0% 0.176 114.9);
Tailwind
colors: {
custom: {
50: '#d0d467',
500: '#b5c306',
950: '#000000',
},
}SCSS
$custom: #b5c306; $custom-light: #d0d467; $custom-dark: #000000;
JSON
{
"hex": "#b5c306",
"rgb": {
"r": 181,
"g": 195,
"b": 6
},
"hsl": {
"h": 64.444,
"s": 94.03,
"l": 39.412
},
"oklch": {
"l": 0.77964,
"c": 0.17555,
"h": 114.9
},
"luminance": 0.48867
}Semantic roles & 50–950 ramp
primary
#B5C306
secondary
#564BDA
accent
#29FF39
background
#FDFDF6
surface
#FAFAEC
border
#D3D3C7
text
#151407
muted
#83837A