#B0B52B#B0B52B
#B0B52B is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.5% C 0.152 H 111.7°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #B0B52B |
|---|---|
| RGB | rgb(176, 181, 43) |
| HSL | hsl(62, 62%, 44%) |
| HSV | hsv(62, 76%, 71%) |
| CMYK | cmyk(2.8%, 0%, 76.2%, 29%) |
| CIE-LAB | lab(71.18, -17.86, 64.36) |
| CIE-LCH | lch(71.18, 66.79, 105.51°) |
| OKLab | oklab(74.54% -0.0561 0.1409) |
| OKLCH | oklch(74.54% 0.152 111.7) |
| XYZ | xyz(34.8656, 42.4532, 8.6427) |
| Luminance | 0.4245 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.32
Snot
#ACBB0D
ΔE00 2.84
Puke Green
#9AAE07
ΔE00 4.36
Bile
#B5C306
ΔE00 4.39
Puke Yellow
#C2BE0E
ΔE00 4.49
Baby Puke Green
#B6C406
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B0B52B #302BB5
analogous
#B5752B #B0B52B #6BB52B
triadic
#B0B52B #2BB0B5 #B52BB0
tetradic
#B0B52B #2BB575 #302BB5 #B52B6B
square
#B0B52B #2BB575 #302BB5 #B52B6B
split-complementary
#B0B52B #2B6BB5 #752BB5
monochromatic
#505214 #80841F #B0B52B #CFD449 #DCE07B
Accessibility & contrast
On white
2.21
#B0B52B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.49
#B0B52B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B0B52B
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B0B52B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B0B52B | 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)
#C3AD05
Deuteranopia (green-blind)
#C4B037
Tritanopia (blue-blind)
#BCAA9B
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #b0b52b; /* rgb */ color: rgb(176, 181, 43); /* oklch */ color: oklch(74.5% 0.152 111.7);
Tailwind
colors: {
custom: {
50: '#cbca70',
500: '#b0b52b',
950: '#000000',
},
}SCSS
$custom: #b0b52b; $custom-light: #cbca70; $custom-dark: #000000;
JSON
{
"hex": "#b0b52b",
"rgb": {
"r": 176,
"g": 181,
"b": 43
},
"hsl": {
"h": 62.174,
"s": 61.607,
"l": 43.922
},
"oklch": {
"l": 0.74545,
"c": 0.15164,
"h": 111.7
},
"luminance": 0.42452
}Semantic roles & 50–950 ramp
primary
#B0B52B
secondary
#7774C8
accent
#43E549
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B