#B8B32E#B8B32E
#B8B32E is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.8% C 0.146 H 107.2°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #B8B32E |
|---|---|
| RGB | rgb(184, 179, 46) |
| HSL | hsl(58, 60%, 45%) |
| HSV | hsv(58, 75%, 72%) |
| CMYK | cmyk(0%, 2.7%, 75%, 27.8%) |
| CIE-LAB | lab(71.30, -13.27, 63.74) |
| CIE-LCH | lch(71.30, 65.10, 101.76°) |
| OKLab | oklab(74.81% -0.0434 0.1398) |
| OKLCH | oklch(74.81% 0.146 107.2) |
| XYZ | xyz(36.3819, 42.6291, 8.8960) |
| Luminance | 0.4263 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.24
Puke Yellow
#C2BE0E
ΔE00 3.84
Mustard Green
#A8B504
ΔE00 4.43
Muddy Yellow
#BFAC05
ΔE00 4.46
Puke
#A5A502
ΔE00 4.63
Vomit Yellow
#C7C10C
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8B32E #2E33B8
analogous
#B86E2E #B8B32E #78B82E
triadic
#B8B32E #2EB8B3 #B32EB8
tetradic
#B8B32E #2EB86E #2E33B8 #B82E78
square
#B8B32E #2EB86E #2E33B8 #B82E78
split-complementary
#B8B32E #2E78B8 #6E2EB8
monochromatic
#565416 #878322 #B8B32E #D3CE50 #DFDC81
Accessibility & contrast
On white
2.20
#B8B32E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.53
#B8B32E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8B32E
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8B32E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8B32E | 1.00 | 2.20 | 9.53 | 9.53 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC10
Deuteranopia (green-blind)
#C5B138
Tritanopia (blue-blind)
#C6A79A
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #b8b32e; /* rgb */ color: rgb(184, 179, 46); /* oklch */ color: oklch(74.8% 0.146 107.2);
Tailwind
colors: {
custom: {
50: '#d1c971',
500: '#b8b32e',
950: '#000000',
},
}SCSS
$custom: #b8b32e; $custom-light: #d1c971; $custom-dark: #000000;
JSON
{
"hex": "#b8b32e",
"rgb": {
"r": 184,
"g": 179,
"b": 46
},
"hsl": {
"h": 57.826,
"s": 60,
"l": 45.098
},
"oklch": {
"l": 0.74806,
"c": 0.1464,
"h": 107.2
},
"luminance": 0.42628
}Semantic roles & 50–950 ramp
primary
#B8B32E
secondary
#797CC8
accent
#4AE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B