#B5B751#B5B751
#B5B751 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.7% C 0.125 H 110.1°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #B5B751 |
|---|---|
| RGB | rgb(181, 183, 81) |
| HSL | hsl(61, 41%, 52%) |
| HSV | hsv(61, 56%, 72%) |
| CMYK | cmyk(1.1%, 0%, 55.7%, 28.2%) |
| CIE-LAB | lab(72.42, -14.48, 50.65) |
| CIE-LCH | lch(72.42, 52.68, 105.95°) |
| OKLab | oklab(75.72% -0.043 0.1176) |
| OKLCH | oklch(75.72% 0.125 110.1) |
| XYZ | xyz(37.4757, 44.2857, 14.3569) |
| Luminance | 0.4429 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.44
Light Olive
#ACBF69
ΔE00 5.71
Booger
#9BB53C
ΔE00 5.91
Mustard Green
#A8B504
ΔE00 5.96
Snot
#ACBB0D
ΔE00 6.05
Light Olive Green
#A4BE5C
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5B751 #5351B7
analogous
#B78651 #B5B751 #82B751
triadic
#B5B751 #51B5B7 #B751B5
tetradic
#B5B751 #51B786 #5351B7 #B75182
square
#B5B751 #51B786 #5351B7 #B75182
split-complementary
#B5B751 #5182B7 #8651B7
monochromatic
#636429 #8E8F3B #B5B751 #C7C97C #DADBA8
Accessibility & contrast
On white
2.13
#B5B751 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.86
#B5B751 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5B751
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5B751 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5B751 | 1.00 | 2.13 | 9.86 | 9.86 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B046
Deuteranopia (green-blind)
#C5B357
Tritanopia (blue-blind)
#C0ADA1
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b5b751; /* rgb */ color: rgb(181, 183, 81); /* oklch */ color: oklch(75.7% 0.125 110.1);
Tailwind
colors: {
custom: {
50: '#cdcc85',
500: '#b5b751',
950: '#000000',
},
}SCSS
$custom: #b5b751; $custom-light: #cdcc85; $custom-dark: #000000;
JSON
{
"hex": "#b5b751",
"rgb": {
"r": 181,
"g": 183,
"b": 81
},
"hsl": {
"h": 61.176,
"s": 41.463,
"l": 51.765
},
"oklch": {
"l": 0.75722,
"c": 0.12523,
"h": 110.1
},
"luminance": 0.44285
}Semantic roles & 50–950 ramp
primary
#B5B751
secondary
#9C9CC8
accent
#57D159
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C