#B5B92B#B5B92B
#B5B92B is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.9% C 0.154 H 111.2°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #B5B92B |
|---|---|
| RGB | rgb(181, 185, 43) |
| HSL | hsl(62, 62%, 45%) |
| HSV | hsv(62, 77%, 73%) |
| CMYK | cmyk(2.2%, 0%, 76.8%, 27.5%) |
| CIE-LAB | lab(72.69, -17.73, 65.89) |
| CIE-LCH | lch(72.69, 68.23, 105.06°) |
| OKLab | oklab(75.85% -0.0559 0.144) |
| OKLCH | oklch(75.85% 0.154 111.2) |
| XYZ | xyz(36.8424, 44.6971, 8.9717) |
| Luminance | 0.4470 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.63
Mustard Green
#A8B504
ΔE00 2.75
Puke Yellow
#C2BE0E
ΔE00 3.46
Bile
#B5C306
ΔE00 3.52
Baby Puke Green
#B6C406
ΔE00 3.72
Olive Yellow
#C2B709
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5B92B #2F2BB9
analogous
#B9762B #B5B92B #6EB92B
triadic
#B5B92B #2BB5B9 #B92BB5
tetradic
#B5B92B #2BB976 #2F2BB9 #B92B6E
square
#B5B92B #2BB976 #2F2BB9 #B92B6E
split-complementary
#B5B92B #2B6EB9 #762BB9
monochromatic
#545614 #84871F #B5B92B #D1D54C #DEE17E
Accessibility & contrast
On white
2.11
#B5B92B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.94
#B5B92B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5B92B
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5B92B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5B92B | 1.00 | 2.11 | 9.94 | 9.94 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B001
Deuteranopia (green-blind)
#C9B437
Tritanopia (blue-blind)
#C2AD9F
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b5b92b; /* rgb */ color: rgb(181, 185, 43); /* oklch */ color: oklch(75.9% 0.154 111.2);
Tailwind
colors: {
custom: {
50: '#cfcd71',
500: '#b5b92b',
950: '#000000',
},
}SCSS
$custom: #b5b92b; $custom-light: #cfcd71; $custom-dark: #000000;
JSON
{
"hex": "#b5b92b",
"rgb": {
"r": 181,
"g": 185,
"b": 43
},
"hsl": {
"h": 61.69,
"s": 62.281,
"l": 44.706
},
"oklch": {
"l": 0.75851,
"c": 0.15445,
"h": 111.2
},
"luminance": 0.44696
}Semantic roles & 50–950 ramp
primary
#B5B92B
secondary
#7976C9
accent
#42E547
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B