#B8BA37#B8BA37
#B8BA37 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.4% C 0.148 H 110.3°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #B8BA37 |
|---|---|
| RGB | rgb(184, 186, 55) |
| HSL | hsl(61, 54%, 47%) |
| HSV | hsv(61, 70%, 73%) |
| CMYK | cmyk(1.1%, 0%, 70.4%, 27.1%) |
| CIE-LAB | lab(73.28, -16.41, 62.47) |
| CIE-LCH | lch(73.28, 64.59, 104.72°) |
| OKLab | oklab(76.4% -0.0514 0.1388) |
| OKLCH | oklch(76.4% 0.148 110.3) |
| XYZ | xyz(38.0169, 45.5850, 10.4099) |
| Luminance | 0.4558 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.48
Mustard Green
#A8B504
ΔE00 3.68
Puke Yellow
#C2BE0E
ΔE00 3.70
Bile
#B5C306
ΔE00 4.11
Baby Puke Green
#B6C406
ΔE00 4.26
Olive Yellow
#C2B709
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8BA37 #3937BA
analogous
#BA7B37 #B8BA37 #77BA37
triadic
#B8BA37 #37B8BA #BA37B8
tetradic
#B8BA37 #37BA7B #3937BA #BA3777
square
#B8BA37 #37BA7B #3937BA #BA3777
split-complementary
#B8BA37 #3777BA #7B37BA
monochromatic
#5B5C1B #898B29 #B8BA37 #CED05F #DCDE8E
Accessibility & contrast
On white
2.08
#B8BA37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.12
#B8BA37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8BA37
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8BA37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8BA37 | 1.00 | 2.08 | 10.12 | 10.12 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B220
Deuteranopia (green-blind)
#CAB641
Tritanopia (blue-blind)
#C5AEA0
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #b8ba37; /* rgb */ color: rgb(184, 186, 55); /* oklch */ color: oklch(76.4% 0.148 110.3);
Tailwind
colors: {
custom: {
50: '#d1ce76',
500: '#b8ba37',
950: '#000000',
},
}SCSS
$custom: #b8ba37; $custom-light: #d1ce76; $custom-dark: #000000;
JSON
{
"hex": "#b8ba37",
"rgb": {
"r": 184,
"g": 186,
"b": 55
},
"hsl": {
"h": 60.916,
"s": 54.357,
"l": 47.255
},
"oklch": {
"l": 0.76398,
"c": 0.14796,
"h": 110.3
},
"luminance": 0.45584
}Semantic roles & 50–950 ramp
primary
#B8BA37
secondary
#8685C8
accent
#4ADE4C
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B