#B5B62E#B5B62E
#B5B62E is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.2% C 0.150 H 110.0°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #B5B62E |
|---|---|
| RGB | rgb(181, 182, 46) |
| HSL | hsl(60, 60%, 45%) |
| HSV | hsv(60, 75%, 71%) |
| CMYK | cmyk(0.5%, 0%, 74.7%, 28.6%) |
| CIE-LAB | lab(71.88, -16.09, 64.18) |
| CIE-LCH | lch(71.88, 66.17, 104.07°) |
| OKLab | oklab(75.21% -0.0511 0.1409) |
| OKLCH | oklch(75.21% 0.15 110) |
| XYZ | xyz(36.2785, 43.4780, 9.0653) |
| Luminance | 0.4348 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.17
Snot
#ACBB0D
ΔE00 3.47
Puke Yellow
#C2BE0E
ΔE00 3.73
Olive Yellow
#C2B709
ΔE00 4.06
Bile
#B5C306
ΔE00 4.52
Vomit Yellow
#C7C10C
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5B62E #2F2EB6
analogous
#B6732E #B5B62E #71B62E
triadic
#B5B62E #2EB5B6 #B62EB5
tetradic
#B5B62E #2EB673 #2F2EB6 #B62E71
square
#B5B62E #2EB673 #2F2EB6 #B62E71
split-complementary
#B5B62E #2E71B6 #732EB6
monochromatic
#545415 #848522 #B5B62E #D1D24F #DEDF80
Accessibility & contrast
On white
2.17
#B5B62E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.70
#B5B62E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5B62E
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5B62E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5B62E | 1.00 | 2.17 | 9.70 | 9.70 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE0E
Deuteranopia (green-blind)
#C6B239
Tritanopia (blue-blind)
#C2AA9C
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b5b62e; /* rgb */ color: rgb(181, 182, 46); /* oklch */ color: oklch(75.2% 0.150 110.0);
Tailwind
colors: {
custom: {
50: '#cfcb72',
500: '#b5b62e',
950: '#000000',
},
}SCSS
$custom: #b5b62e; $custom-light: #cfcb72; $custom-dark: #000000;
JSON
{
"hex": "#b5b62e",
"rgb": {
"r": 181,
"g": 182,
"b": 46
},
"hsl": {
"h": 60.441,
"s": 59.649,
"l": 44.706
},
"oklch": {
"l": 0.75205,
"c": 0.14987,
"h": 110
},
"luminance": 0.43477
}Semantic roles & 50–950 ramp
primary
#B5B62E
secondary
#7978C8
accent
#45E346
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B