#B0B126#B0B126
#B0B126 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.6% C 0.150 H 110.0°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B0B126 |
|---|---|
| RGB | rgb(176, 177, 38) |
| HSL | hsl(60, 65%, 42%) |
| HSV | hsv(60, 79%, 69%) |
| CMYK | cmyk(0.6%, 0%, 78.5%, 30.6%) |
| CIE-LAB | lab(70.05, -16.03, 64.86) |
| CIE-LCH | lch(70.05, 66.81, 103.88°) |
| OKLab | oklab(73.63% -0.0514 0.1411) |
| OKLCH | oklch(73.63% 0.15 110) |
| XYZ | xyz(33.9778, 40.8153, 7.9217) |
| Luminance | 0.4081 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.99
Puke
#A5A502
ΔE00 3.60
Vomit
#A2A415
ΔE00 3.87
Snot
#ACBB0D
ΔE00 3.91
Olive Yellow
#C2B709
ΔE00 4.43
Puke Yellow
#C2BE0E
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B0B126 #2726B1
analogous
#B16D26 #B0B126 #6AB126
triadic
#B0B126 #26B0B1 #B126B0
tetradic
#B0B126 #26B16D #2726B1 #B1266A
square
#B0B126 #26B16D #2726B1 #B1266A
split-complementary
#B0B126 #266AB1 #6D26B1
monochromatic
#4C4C10 #7E7F1B #B0B126 #D5D63F #E0E071
Accessibility & contrast
On white
2.29
#B0B126 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#B0B126 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B0B126
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B0B126 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B0B126 | 1.00 | 2.29 | 9.16 | 9.16 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#C1AD33
Tritanopia (blue-blind)
#BDA598
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b0b126; /* rgb */ color: rgb(176, 177, 38); /* oklch */ color: oklch(73.6% 0.150 110.0);
Tailwind
colors: {
custom: {
50: '#cbc86d',
500: '#b0b126',
950: '#000000',
},
}SCSS
$custom: #b0b126; $custom-light: #cbc86d; $custom-dark: #000000;
JSON
{
"hex": "#b0b126",
"rgb": {
"r": 176,
"g": 177,
"b": 38
},
"hsl": {
"h": 60.432,
"s": 64.651,
"l": 42.157
},
"oklch": {
"l": 0.73629,
"c": 0.15013,
"h": 110
},
"luminance": 0.40814
}Semantic roles & 50–950 ramp
primary
#B0B126
secondary
#6C6BC7
accent
#40E841
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141308
muted
#83827A