#B0B831#B0B831
#B0B831 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.3% C 0.151 H 112.9°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #B0B831 |
|---|---|
| RGB | rgb(176, 184, 49) |
| HSL | hsl(64, 58%, 46%) |
| HSV | hsv(64, 73%, 72%) |
| CMYK | cmyk(4.3%, 0%, 73.4%, 27.8%) |
| CIE-LAB | lab(72.05, -19.11, 63.19) |
| CIE-LCH | lch(72.05, 66.02, 106.82°) |
| OKLab | oklab(75.25% -0.059 0.1395) |
| OKLCH | oklch(75.25% 0.151 112.9) |
| XYZ | xyz(35.6005, 43.7336, 9.4712) |
| Luminance | 0.4373 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.45
Snot
#ACBB0D
ΔE00 2.45
Bile
#B5C306
ΔE00 3.91
Pea
#A4BF20
ΔE00 4.10
Baby Puke Green
#B6C406
ΔE00 4.13
Sick Green
#9DB92C
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B0B831 #3931B8
analogous
#B87D31 #B0B831 #6CB831
triadic
#B0B831 #31B0B8 #B831B0
tetradic
#B0B831 #31B87D #3931B8 #B8316C
square
#B0B831 #31B87D #3931B8 #B8316C
split-complementary
#B0B831 #316CB8 #7D31B8
monochromatic
#545717 #828824 #B0B831 #CAD255 #D9DE85
Accessibility & contrast
On white
2.15
#B0B831 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.75
#B0B831 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B0B831
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B0B831 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B0B831 | 1.00 | 2.15 | 9.75 | 9.75 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF15
Deuteranopia (green-blind)
#C6B23C
Tritanopia (blue-blind)
#BCAD9E
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b0b831; /* rgb */ color: rgb(176, 184, 49); /* oklch */ color: oklch(75.3% 0.151 112.9);
Tailwind
colors: {
custom: {
50: '#cbcd73',
500: '#b0b831',
950: '#000000',
},
}SCSS
$custom: #b0b831; $custom-light: #cbcd73; $custom-dark: #000000;
JSON
{
"hex": "#b0b831",
"rgb": {
"r": 176,
"g": 184,
"b": 49
},
"hsl": {
"h": 63.556,
"s": 57.94,
"l": 45.686
},
"oklch": {
"l": 0.7525,
"c": 0.15146,
"h": 112.9
},
"luminance": 0.43733
}Semantic roles & 50–950 ramp
primary
#B0B831
secondary
#817DC8
accent
#47E150
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B