#B4B343#B4B343
#B4B343 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.6% C 0.133 H 108.7°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #B4B343 |
|---|---|
| RGB | rgb(180, 179, 67) |
| HSL | hsl(59, 46%, 48%) |
| HSV | hsv(59, 63%, 71%) |
| CMYK | cmyk(0%, 0.6%, 62.8%, 29.4%) |
| CIE-LAB | lab(71.11, -13.86, 55.41) |
| CIE-LCH | lch(71.11, 57.12, 104.05°) |
| OKLab | oklab(74.62% -0.0427 0.1259) |
| OKLCH | oklch(74.62% 0.133 108.7) |
| XYZ | xyz(35.9568, 42.3498, 11.5893) |
| Luminance | 0.4235 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 4.93
Vomit
#A2A415
ΔE00 5.30
Snot
#ACBB0D
ΔE00 5.38
Puke
#A5A502
ΔE00 5.43
Darkkhaki
#BDB76B
ΔE00 5.61
Olive Yellow
#C2B709
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4B343 #4344B4
analogous
#B47A43 #B4B343 #7CB443
triadic
#B4B343 #43B4B3 #B343B4
tetradic
#B4B343 #43B47A #4344B4 #B4437C
square
#B4B343 #43B47A #4344B4 #B4437C
split-complementary
#B4B343 #437CB4 #7A43B4
monochromatic
#5B5A22 #878732 #B4B343 #C8C76C #D9D899
Accessibility & contrast
On white
2.22
#B4B343 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.47
#B4B343 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4B343
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4B343 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4B343 | 1.00 | 2.22 | 9.47 | 9.47 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AC35
Deuteranopia (green-blind)
#C3B04A
Tritanopia (blue-blind)
#C0A89C
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #b4b343; /* rgb */ color: rgb(180, 179, 67); /* oklch */ color: oklch(74.6% 0.133 108.7);
Tailwind
colors: {
custom: {
50: '#cdc97c',
500: '#b4b343',
950: '#000000',
},
}SCSS
$custom: #b4b343; $custom-light: #cdc97c; $custom-dark: #000000;
JSON
{
"hex": "#b4b343",
"rgb": {
"r": 180,
"g": 179,
"b": 67
},
"hsl": {
"h": 59.469,
"s": 45.749,
"l": 48.431
},
"oklch": {
"l": 0.74618,
"c": 0.13297,
"h": 108.7
},
"luminance": 0.42349
}Semantic roles & 50–950 ramp
primary
#B4B343
secondary
#8E8EC5
accent
#54D552
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C