#B0B628#B0B628
#B0B628 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.8% C 0.154 H 112.1°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #B0B628 |
|---|---|
| RGB | rgb(176, 182, 40) |
| HSL | hsl(63, 64%, 44%) |
| HSV | hsv(63, 78%, 71%) |
| CMYK | cmyk(3.3%, 0%, 78%, 28.6%) |
| CIE-LAB | lab(71.45, -18.48, 65.52) |
| CIE-LCH | lch(71.45, 68.08, 105.75°) |
| OKLab | oklab(74.75% -0.058 0.1428) |
| OKLCH | oklch(74.75% 0.154 112.1) |
| XYZ | xyz(35.0166, 42.8401, 8.4314) |
| Luminance | 0.4284 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.04
Snot
#ACBB0D
ΔE00 2.45
Bile
#B5C306
ΔE00 4.00
Baby Puke Green
#B6C406
ΔE00 4.22
Puke Green
#9AAE07
ΔE00 4.31
Puke Yellow
#C2BE0E
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B0B628 #2E28B6
analogous
#B67528 #B0B628 #69B628
triadic
#B0B628 #28B0B6 #B628B0
tetradic
#B0B628 #28B675 #2E28B6 #B62869
square
#B0B628 #28B675 #2E28B6 #B62869
split-complementary
#B0B628 #2869B6 #7528B6
monochromatic
#4F5212 #7F841D #B0B628 #D0D645 #DDE177
Accessibility & contrast
On white
2.19
#B0B628 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.57
#B0B628 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B0B628
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B0B628 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B0B628 | 1.00 | 2.19 | 9.57 | 9.57 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C5B135
Tritanopia (blue-blind)
#BCAA9C
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #b0b628; /* rgb */ color: rgb(176, 182, 40); /* oklch */ color: oklch(74.8% 0.154 112.1);
Tailwind
colors: {
custom: {
50: '#cbcb6f',
500: '#b0b628',
950: '#000000',
},
}SCSS
$custom: #b0b628; $custom-light: #cbcb6f; $custom-dark: #000000;
JSON
{
"hex": "#b0b628",
"rgb": {
"r": 176,
"g": 182,
"b": 40
},
"hsl": {
"h": 62.535,
"s": 63.964,
"l": 43.529
},
"oklch": {
"l": 0.74752,
"c": 0.15417,
"h": 112.1
},
"luminance": 0.42839
}Semantic roles & 50–950 ramp
primary
#B0B628
secondary
#7571C9
accent
#41E748
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B