#B0B528#B0B528
#B0B528 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.5% C 0.153 H 111.7°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #B0B528 |
|---|---|
| RGB | rgb(176, 181, 40) |
| HSL | hsl(62, 64%, 43%) |
| HSV | hsv(62, 78%, 71%) |
| CMYK | cmyk(2.8%, 0%, 77.9%, 29%) |
| CIE-LAB | lab(71.17, -17.98, 65.27) |
| CIE-LCH | lch(71.17, 67.70, 105.40°) |
| OKLab | oklab(74.53% -0.0566 0.1423) |
| OKLCH | oklch(74.53% 0.153 111.7) |
| XYZ | xyz(34.8126, 42.4320, 8.3634) |
| Luminance | 0.4243 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.18
Snot
#ACBB0D
ΔE00 2.73
Bile
#B5C306
ΔE00 4.28
Puke Green
#9AAE07
ΔE00 4.34
Puke Yellow
#C2BE0E
ΔE00 4.35
Baby Puke Green
#B6C406
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B0B528 #2D28B5
analogous
#B57328 #B0B528 #69B528
triadic
#B0B528 #28B0B5 #B528B0
tetradic
#B0B528 #28B573 #2D28B5 #B52869
square
#B0B528 #28B573 #2D28B5 #B52869
split-complementary
#B0B528 #2869B5 #7328B5
monochromatic
#4F5112 #7F831D #B0B528 #D1D644 #DDE177
Accessibility & contrast
On white
2.21
#B0B528 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.49
#B0B528 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B0B528
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B0B528 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B0B528 | 1.00 | 2.21 | 9.49 | 9.49 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C4B035
Tritanopia (blue-blind)
#BCA99B
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #b0b528; /* rgb */ color: rgb(176, 181, 40); /* oklch */ color: oklch(74.5% 0.153 111.7);
Tailwind
colors: {
custom: {
50: '#cbca6f',
500: '#b0b528',
950: '#000000',
},
}SCSS
$custom: #b0b528; $custom-light: #cbca6f; $custom-dark: #000000;
JSON
{
"hex": "#b0b528",
"rgb": {
"r": 176,
"g": 181,
"b": 40
},
"hsl": {
"h": 62.128,
"s": 63.801,
"l": 43.333
},
"oklch": {
"l": 0.74529,
"c": 0.15316,
"h": 111.7
},
"luminance": 0.42431
}Semantic roles & 50–950 ramp
primary
#B0B528
secondary
#7370C8
accent
#41E747
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B