#B5B92E#B5B92E
#B5B92E is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.9% C 0.153 H 111.2°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #B5B92E |
|---|---|
| RGB | rgb(181, 185, 46) |
| HSL | hsl(62, 60%, 45%) |
| HSV | hsv(62, 75%, 73%) |
| CMYK | cmyk(2.2%, 0%, 75.1%, 27.5%) |
| CIE-LAB | lab(72.71, -17.61, 64.95) |
| CIE-LCH | lch(72.71, 67.30, 105.17°) |
| OKLab | oklab(75.87% -0.0554 0.1425) |
| OKLCH | oklch(75.87% 0.153 111.2) |
| XYZ | xyz(36.8994, 44.7199, 9.2723) |
| Luminance | 0.4472 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.74
Mustard Green
#A8B504
ΔE00 2.86
Puke Yellow
#C2BE0E
ΔE00 3.63
Bile
#B5C306
ΔE00 3.65
Baby Puke Green
#B6C406
ΔE00 3.84
Olive Yellow
#C2B709
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5B92E #322EB9
analogous
#B9782E #B5B92E #6FB92E
triadic
#B5B92E #2EB5B9 #B92EB5
tetradic
#B5B92E #2EB978 #322EB9 #B92E6F
square
#B5B92E #2EB978 #322EB9 #B92E6F
split-complementary
#B5B92E #2E6FB9 #782EB9
monochromatic
#555716 #858822 #B5B92E #D0D451 #DDE082
Accessibility & contrast
On white
2.11
#B5B92E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.94
#B5B92E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5B92E
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5B92E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5B92E | 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)
#C8B10C
Deuteranopia (green-blind)
#C9B43A
Tritanopia (blue-blind)
#C2AD9F
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b5b92e; /* rgb */ color: rgb(181, 185, 46); /* oklch */ color: oklch(75.9% 0.153 111.2);
Tailwind
colors: {
custom: {
50: '#cfcd72',
500: '#b5b92e',
950: '#000000',
},
}SCSS
$custom: #b5b92e; $custom-light: #cfcd72; $custom-dark: #000000;
JSON
{
"hex": "#b5b92e",
"rgb": {
"r": 181,
"g": 185,
"b": 46
},
"hsl": {
"h": 61.727,
"s": 60.173,
"l": 45.294
},
"oklch": {
"l": 0.75868,
"c": 0.15289,
"h": 111.2
},
"luminance": 0.44719
}Semantic roles & 50–950 ramp
primary
#B5B92E
secondary
#7C7AC9
accent
#44E349
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B