#B8B62E#B8B62E
#B8B62E is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.5% C 0.149 H 108.6°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #B8B62E |
|---|---|
| RGB | rgb(184, 182, 46) |
| HSL | hsl(59, 60%, 45%) |
| HSV | hsv(59, 75%, 72%) |
| CMYK | cmyk(0%, 1.1%, 75%, 27.8%) |
| CIE-LAB | lab(72.12, -14.80, 64.50) |
| CIE-LCH | lch(72.12, 66.18, 102.92°) |
| OKLab | oklab(75.46% -0.0477 0.1414) |
| OKLCH | oklch(75.46% 0.149 108.6) |
| XYZ | xyz(36.9897, 43.8447, 9.0986) |
| Luminance | 0.4384 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 3.33
Olive Yellow
#C2B709
ΔE00 3.39
Mustard Green
#A8B504
ΔE00 3.80
Snot
#ACBB0D
ΔE00 4.07
Vomit Yellow
#C7C10C
ΔE00 4.25
Bile
#B5C306
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8B62E #2E30B8
analogous
#B8712E #B8B62E #75B82E
triadic
#B8B62E #2EB8B6 #B62EB8
tetradic
#B8B62E #2EB871 #2E30B8 #B82E75
square
#B8B62E #2EB871 #2E30B8 #B82E75
split-complementary
#B8B62E #2E75B8 #712EB8
monochromatic
#565516 #878622 #B8B62E #D3D150 #DFDE81
Accessibility & contrast
On white
2.15
#B8B62E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.77
#B8B62E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8B62E
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8B62E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8B62E | 1.00 | 2.15 | 9.77 | 9.77 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE0E
Deuteranopia (green-blind)
#C7B339
Tritanopia (blue-blind)
#C5AA9C
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b8b62e; /* rgb */ color: rgb(184, 182, 46); /* oklch */ color: oklch(75.5% 0.149 108.6);
Tailwind
colors: {
custom: {
50: '#d1cb72',
500: '#b8b62e',
950: '#000000',
},
}SCSS
$custom: #b8b62e; $custom-light: #d1cb72; $custom-dark: #000000;
JSON
{
"hex": "#b8b62e",
"rgb": {
"r": 184,
"g": 182,
"b": 46
},
"hsl": {
"h": 59.13,
"s": 60,
"l": 45.098
},
"oklch": {
"l": 0.75462,
"c": 0.14926,
"h": 108.6
},
"luminance": 0.43844
}Semantic roles & 50–950 ramp
primary
#B8B62E
secondary
#797BC8
accent
#47E345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B