#B5B337#B5B337
#B5B337 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.6% C 0.141 H 108.5°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #B5B337 |
|---|---|
| RGB | rgb(181, 179, 55) |
| HSL | hsl(59, 53%, 46%) |
| HSV | hsv(59, 70%, 71%) |
| CMYK | cmyk(0%, 1.1%, 69.6%, 29%) |
| CIE-LAB | lab(71.11, -14.14, 60.26) |
| CIE-LCH | lch(71.11, 61.89, 103.20°) |
| OKLab | oklab(74.61% -0.0448 0.1342) |
| OKLCH | oklch(74.61% 0.141 108.5) |
| XYZ | xyz(35.8670, 42.3409, 9.8970) |
| Luminance | 0.4234 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 4.18
Olive Yellow
#C2B709
ΔE00 4.44
Puke Yellow
#C2BE0E
ΔE00 4.67
Snot
#ACBB0D
ΔE00 4.71
Puke
#A5A502
ΔE00 4.71
Vomit
#A2A415
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5B337 #3739B5
analogous
#B57437 #B5B337 #78B537
triadic
#B5B337 #37B5B3 #B337B5
tetradic
#B5B337 #37B574 #3739B5 #B53778
square
#B5B337 #37B574 #3739B5 #B53778
split-complementary
#B5B337 #3778B5 #7437B5
monochromatic
#57561A #868529 #B5B337 #CDCC5C #DCDA8B
Accessibility & contrast
On white
2.22
#B5B337 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.47
#B5B337 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5B337
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5B337 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5B337 | 1.00 | 2.22 | 9.47 | 9.47 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC23
Deuteranopia (green-blind)
#C4B040
Tritanopia (blue-blind)
#C2A89A
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #b5b337; /* rgb */ color: rgb(181, 179, 55); /* oklch */ color: oklch(74.6% 0.141 108.5);
Tailwind
colors: {
custom: {
50: '#cec976',
500: '#b5b337',
950: '#000000',
},
}SCSS
$custom: #b5b337; $custom-light: #cec976; $custom-dark: #000000;
JSON
{
"hex": "#b5b337",
"rgb": {
"r": 181,
"g": 179,
"b": 55
},
"hsl": {
"h": 59.048,
"s": 53.39,
"l": 46.275
},
"oklch": {
"l": 0.74605,
"c": 0.14147,
"h": 108.5
},
"luminance": 0.4234
}Semantic roles & 50–950 ramp
primary
#B5B337
secondary
#8283C6
accent
#4DDD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B