#B5B730#B5B730
#B5B730 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.4% C 0.150 H 110.4°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #B5B730 |
|---|---|
| RGB | rgb(181, 183, 48) |
| HSL | hsl(61, 58%, 45%) |
| HSV | hsv(61, 74%, 72%) |
| CMYK | cmyk(1.1%, 0%, 73.8%, 28.2%) |
| CIE-LAB | lab(72.17, -16.51, 63.78) |
| CIE-LCH | lch(72.17, 65.89, 104.51°) |
| OKLab | oklab(75.44% -0.0521 0.1404) |
| OKLCH | oklch(75.44% 0.15 110.4) |
| XYZ | xyz(36.5243, 43.9052, 9.3463) |
| Luminance | 0.4390 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.11
Snot
#ACBB0D
ΔE00 3.29
Puke Yellow
#C2BE0E
ΔE00 3.79
Olive Yellow
#C2B709
ΔE00 4.30
Bile
#B5C306
ΔE00 4.31
Baby Puke Green
#B6C406
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5B730 #3230B7
analogous
#B77530 #B5B730 #71B730
triadic
#B5B730 #30B5B7 #B730B5
tetradic
#B5B730 #30B775 #3230B7 #B73071
square
#B5B730 #30B775 #3230B7 #B73071
split-complementary
#B5B730 #3071B7 #7530B7
monochromatic
#555617 #858723 #B5B730 #D0D252 #DDDE83
Accessibility & contrast
On white
2.15
#B5B730 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.78
#B5B730 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5B730
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5B730 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5B730 | 1.00 | 2.15 | 9.78 | 9.78 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF13
Deuteranopia (green-blind)
#C7B33B
Tritanopia (blue-blind)
#C2AB9D
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b5b730; /* rgb */ color: rgb(181, 183, 48); /* oklch */ color: oklch(75.4% 0.150 110.4);
Tailwind
colors: {
custom: {
50: '#cfcc73',
500: '#b5b730',
950: '#000000',
},
}SCSS
$custom: #b5b730; $custom-light: #cfcc73; $custom-dark: #000000;
JSON
{
"hex": "#b5b730",
"rgb": {
"r": 181,
"g": 183,
"b": 48
},
"hsl": {
"h": 60.889,
"s": 58.442,
"l": 45.294
},
"oklch": {
"l": 0.75438,
"c": 0.14976,
"h": 110.4
},
"luminance": 0.43904
}Semantic roles & 50–950 ramp
primary
#B5B730
secondary
#7C7BC8
accent
#46E248
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B