#B5B837#B5B837
#B5B837 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.7% C 0.147 H 110.8°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #B5B837 |
|---|---|
| RGB | rgb(181, 184, 55) |
| HSL | hsl(61, 54%, 47%) |
| HSV | hsv(61, 70%, 72%) |
| CMYK | cmyk(1.6%, 0%, 70.1%, 27.8%) |
| CIE-LAB | lab(72.48, -16.68, 61.61) |
| CIE-LCH | lch(72.48, 63.83, 105.15°) |
| OKLab | oklab(75.71% -0.0519 0.137) |
| OKLCH | oklch(75.71% 0.147 110.8) |
| XYZ | xyz(36.8874, 44.3816, 10.2371) |
| Luminance | 0.4438 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.38
Snot
#ACBB0D
ΔE00 3.41
Puke Yellow
#C2BE0E
ΔE00 4.24
Bile
#B5C306
ΔE00 4.41
Baby Puke Green
#B6C406
ΔE00 4.59
Olive Yellow
#C2B709
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5B837 #3A37B8
analogous
#B87A37 #B5B837 #75B837
triadic
#B5B837 #37B5B8 #B837B5
tetradic
#B5B837 #37B87A #3A37B8 #B83775
square
#B5B837 #37B87A #3A37B8 #B83775
split-complementary
#B5B837 #3775B8 #7A37B8
monochromatic
#585A1B #878929 #B5B837 #CCCF5D #DBDD8D
Accessibility & contrast
On white
2.13
#B5B837 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.88
#B5B837 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5B837
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5B837 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5B837 | 1.00 | 2.13 | 9.88 | 9.88 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B021
Deuteranopia (green-blind)
#C7B341
Tritanopia (blue-blind)
#C2AD9F
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b5b837; /* rgb */ color: rgb(181, 184, 55); /* oklch */ color: oklch(75.7% 0.147 110.8);
Tailwind
colors: {
custom: {
50: '#cfcd76',
500: '#b5b837',
950: '#000000',
},
}SCSS
$custom: #b5b837; $custom-light: #cfcd76; $custom-dark: #000000;
JSON
{
"hex": "#b5b837",
"rgb": {
"r": 181,
"g": 184,
"b": 55
},
"hsl": {
"h": 61.395,
"s": 53.975,
"l": 46.863
},
"oklch": {
"l": 0.75705,
"c": 0.14656,
"h": 110.8
},
"luminance": 0.44381
}Semantic roles & 50–950 ramp
primary
#B5B837
secondary
#8584C7
accent
#4ADD4E
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B