#B8B43E#B8B43E
#B8B43E is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.1% C 0.137 H 107.4°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #B8B43E |
|---|---|
| RGB | rgb(184, 180, 62) |
| HSL | hsl(58, 50%, 48%) |
| HSV | hsv(58, 66%, 72%) |
| CMYK | cmyk(0%, 2.2%, 66.3%, 27.8%) |
| CIE-LAB | lab(71.68, -12.98, 58.18) |
| CIE-LCH | lch(71.68, 59.61, 102.57°) |
| OKLab | oklab(75.14% -0.041 0.1309) |
| OKLCH | oklch(75.14% 0.137 107.4) |
| XYZ | xyz(36.9592, 43.1819, 10.9446) |
| Luminance | 0.4318 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 4.53
Puke Yellow
#C2BE0E
ΔE00 4.83
Mustard Green
#A8B504
ΔE00 4.95
Snot
#ACBB0D
ΔE00 5.33
Puke
#A5A502
ΔE00 5.38
Vomit
#A2A415
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8B43E #3E42B8
analogous
#B8773E #B8B43E #7FB83E
triadic
#B8B43E #3EB8B4 #B43EB8
tetradic
#B8B43E #3EB877 #3E42B8 #B83E7F
square
#B8B43E #3EB877 #3E42B8 #B83E7F
split-complementary
#B8B43E #3E7FB8 #773EB8
monochromatic
#5C5A1F #8A872F #B8B43E #CCC967 #DBD995
Accessibility & contrast
On white
2.18
#B8B43E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.64
#B8B43E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8B43E
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8B43E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8B43E | 1.00 | 2.18 | 9.64 | 9.64 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AD2E
Deuteranopia (green-blind)
#C5B246
Tritanopia (blue-blind)
#C5A99C
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b8b43e; /* rgb */ color: rgb(184, 180, 62); /* oklch */ color: oklch(75.1% 0.137 107.4);
Tailwind
colors: {
custom: {
50: '#d0ca7a',
500: '#b8b43e',
950: '#000000',
},
}SCSS
$custom: #b8b43e; $custom-light: #d0ca7a; $custom-dark: #000000;
JSON
{
"hex": "#b8b43e",
"rgb": {
"r": 184,
"g": 180,
"b": 62
},
"hsl": {
"h": 58.033,
"s": 49.593,
"l": 48.235
},
"oklch": {
"l": 0.75138,
"c": 0.13715,
"h": 107.4
},
"luminance": 0.43181
}Semantic roles & 50–950 ramp
primary
#B8B43E
secondary
#8B8DC7
accent
#53D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C