#B8B62D#B8B62D
#B8B62D is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.5% C 0.150 H 108.6°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #B8B62D |
|---|---|
| RGB | rgb(184, 182, 45) |
| HSL | hsl(59, 61%, 45%) |
| HSV | hsv(59, 76%, 72%) |
| CMYK | cmyk(0%, 1.1%, 75.5%, 27.8%) |
| CIE-LAB | lab(72.12, -14.84, 64.82) |
| CIE-LCH | lch(72.12, 66.50, 102.89°) |
| OKLab | oklab(75.46% -0.0479 0.1419) |
| OKLCH | oklch(75.46% 0.15 108.6) |
| XYZ | xyz(36.9702, 43.8369, 8.9960) |
| Luminance | 0.4384 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 3.27
Olive Yellow
#C2B709
ΔE00 3.34
Mustard Green
#A8B504
ΔE00 3.78
Snot
#ACBB0D
ΔE00 4.05
Vomit Yellow
#C7C10C
ΔE00 4.20
Bile
#B5C306
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8B62D #2D2FB8
analogous
#B8712D #B8B62D #74B82D
triadic
#B8B62D #2DB8B6 #B62DB8
tetradic
#B8B62D #2DB871 #2D2FB8 #B82D74
square
#B8B62D #2DB871 #2D2FB8 #B82D74
split-complementary
#B8B62D #2D74B8 #712DB8
monochromatic
#565515 #878521 #B8B62D #D4D24E #E0DE80
Accessibility & contrast
On white
2.15
#B8B62D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.77
#B8B62D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8B62D
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8B62D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8B62D | 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)
#C5AE0B
Deuteranopia (green-blind)
#C7B338
Tritanopia (blue-blind)
#C5AA9C
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b8b62d; /* rgb */ color: rgb(184, 182, 45); /* oklch */ color: oklch(75.5% 0.150 108.6);
Tailwind
colors: {
custom: {
50: '#d1cb71',
500: '#b8b62d',
950: '#000000',
},
}SCSS
$custom: #b8b62d; $custom-light: #d1cb71; $custom-dark: #000000;
JSON
{
"hex": "#b8b62d",
"rgb": {
"r": 184,
"g": 182,
"b": 45
},
"hsl": {
"h": 59.137,
"s": 60.699,
"l": 44.902
},
"oklch": {
"l": 0.75456,
"c": 0.1498,
"h": 108.6
},
"luminance": 0.43836
}Semantic roles & 50–950 ramp
primary
#B8B62D
secondary
#7879C9
accent
#46E444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B