#B8B12E#B8B12E
#B8B12E is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.4% C 0.145 H 106.3°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #B8B12E |
|---|---|
| RGB | rgb(184, 177, 46) |
| HSL | hsl(57, 60%, 45%) |
| HSV | hsv(57, 75%, 72%) |
| CMYK | cmyk(0%, 3.8%, 75%, 27.8%) |
| CIE-LAB | lab(70.76, -12.24, 63.23) |
| CIE-LCH | lch(70.76, 64.40, 100.95°) |
| OKLab | oklab(74.37% -0.0405 0.1387) |
| OKLCH | oklch(74.37% 0.145 106.3) |
| XYZ | xyz(35.9839, 41.8332, 8.7634) |
| Luminance | 0.4183 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.31
Muddy Yellow
#BFAC05
ΔE00 3.96
Puke Yellow
#C2BE0E
ΔE00 4.30
Puke
#A5A502
ΔE00 4.41
Vomit
#A2A415
ΔE00 4.86
Mustard Green
#A8B504
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8B12E #2E35B8
analogous
#B86C2E #B8B12E #7AB82E
triadic
#B8B12E #2EB8B1 #B12EB8
tetradic
#B8B12E #2EB86C #2E35B8 #B82E7A
square
#B8B12E #2EB86C #2E35B8 #B82E7A
split-complementary
#B8B12E #2E7AB8 #6C2EB8
monochromatic
#565316 #878222 #B8B12E #D3CD50 #DFDB81
Accessibility & contrast
On white
2.24
#B8B12E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.37
#B8B12E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8B12E
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8B12E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8B12E | 1.00 | 2.24 | 9.37 | 9.37 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA11
Deuteranopia (green-blind)
#C3AF38
Tritanopia (blue-blind)
#C6A598
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #b8b12e; /* rgb */ color: rgb(184, 177, 46); /* oklch */ color: oklch(74.4% 0.145 106.3);
Tailwind
colors: {
custom: {
50: '#d1c871',
500: '#b8b12e',
950: '#000000',
},
}SCSS
$custom: #b8b12e; $custom-light: #d1c871; $custom-dark: #000000;
JSON
{
"hex": "#b8b12e",
"rgb": {
"r": 184,
"g": 177,
"b": 46
},
"hsl": {
"h": 56.957,
"s": 60,
"l": 45.098
},
"oklch": {
"l": 0.7437,
"c": 0.14454,
"h": 106.3
},
"luminance": 0.41832
}Semantic roles & 50–950 ramp
primary
#B8B12E
secondary
#797DC8
accent
#4DE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B