#B0B827#B0B827
#B0B827 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.2% C 0.157 H 112.9°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #B0B827 |
|---|---|
| RGB | rgb(176, 184, 39) |
| HSL | hsl(63, 65%, 44%) |
| HSV | hsv(63, 79%, 72%) |
| CMYK | cmyk(4.3%, 0%, 78.8%, 27.8%) |
| CIE-LAB | lab(72.00, -19.52, 66.31) |
| CIE-LCH | lch(72.00, 69.13, 106.41°) |
| OKLab | oklab(75.19% -0.061 0.1443) |
| OKLCH | oklch(75.19% 0.157 112.9) |
| XYZ | xyz(35.4124, 43.6584, 8.4805) |
| Luminance | 0.4366 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.88
Snot
#ACBB0D
ΔE00 1.90
Bile
#B5C306
ΔE00 3.43
Baby Puke Green
#B6C406
ΔE00 3.66
Pea
#A4BF20
ΔE00 4.09
Puke Yellow
#C2BE0E
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B0B827 #2F27B8
analogous
#B87727 #B0B827 #67B827
triadic
#B0B827 #27B0B8 #B827B0
tetradic
#B0B827 #27B877 #2F27B8 #B82767
square
#B0B827 #27B877 #2F27B8 #B82767
split-complementary
#B0B827 #2767B8 #7727B8
monochromatic
#4F5312 #80861C #B0B827 #CFD845 #DCE277
Accessibility & contrast
On white
2.16
#B0B827 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.73
#B0B827 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B0B827
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B0B827 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B0B827 | 1.00 | 2.16 | 9.73 | 9.73 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C6B235
Tritanopia (blue-blind)
#BCAC9E
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b0b827; /* rgb */ color: rgb(176, 184, 39); /* oklch */ color: oklch(75.2% 0.157 112.9);
Tailwind
colors: {
custom: {
50: '#cbcd6f',
500: '#b0b827',
950: '#000000',
},
}SCSS
$custom: #b0b827; $custom-light: #cbcd6f; $custom-dark: #000000;
JSON
{
"hex": "#b0b827",
"rgb": {
"r": 176,
"g": 184,
"b": 39
},
"hsl": {
"h": 63.31,
"s": 65.022,
"l": 43.725
},
"oklch": {
"l": 0.75193,
"c": 0.1567,
"h": 112.9
},
"luminance": 0.43658
}Semantic roles & 50–950 ramp
primary
#B0B827
secondary
#7671CA
accent
#40E849
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B