#B5B92D#B5B92D
#B5B92D 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 | #B5B92D |
|---|---|
| RGB | rgb(181, 185, 45) |
| HSL | hsl(62, 61%, 45%) |
| HSV | hsv(62, 76%, 73%) |
| CMYK | cmyk(2.2%, 0%, 75.7%, 27.5%) |
| CIE-LAB | lab(72.70, -17.65, 65.27) |
| CIE-LCH | lch(72.70, 67.61, 105.13°) |
| OKLab | oklab(75.86% -0.0556 0.143) |
| OKLCH | oklch(75.86% 0.153 111.2) |
| XYZ | xyz(36.8800, 44.7121, 9.1697) |
| Luminance | 0.4471 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.70
Mustard Green
#A8B504
ΔE00 2.82
Puke Yellow
#C2BE0E
ΔE00 3.57
Bile
#B5C306
ΔE00 3.61
Baby Puke Green
#B6C406
ΔE00 3.80
Olive Yellow
#C2B709
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5B92D #312DB9
analogous
#B9772D #B5B92D #6FB92D
triadic
#B5B92D #2DB5B9 #B92DB5
tetradic
#B5B92D #2DB977 #312DB9 #B92D6F
square
#B5B92D #2DB977 #312DB9 #B92D6F
split-complementary
#B5B92D #2D6FB9 #772DB9
monochromatic
#555715 #858821 #B5B92D #D0D44F #DDE080
Accessibility & contrast
On white
2.11
#B5B92D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.94
#B5B92D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5B92D
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5B92D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5B92D | 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)
#C8B108
Deuteranopia (green-blind)
#C9B439
Tritanopia (blue-blind)
#C2AD9F
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b5b92d; /* rgb */ color: rgb(181, 185, 45); /* oklch */ color: oklch(75.9% 0.153 111.2);
Tailwind
colors: {
custom: {
50: '#cfcd71',
500: '#b5b92d',
950: '#000000',
},
}SCSS
$custom: #b5b92d; $custom-light: #cfcd71; $custom-dark: #000000;
JSON
{
"hex": "#b5b92d",
"rgb": {
"r": 181,
"g": 185,
"b": 45
},
"hsl": {
"h": 61.714,
"s": 60.87,
"l": 45.098
},
"oklch": {
"l": 0.75862,
"c": 0.15341,
"h": 111.2
},
"luminance": 0.44711
}Semantic roles & 50–950 ramp
primary
#B5B92D
secondary
#7B79C9
accent
#44E448
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B