#B5B53D#B5B53D
#B5B53D is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.1% C 0.139 H 109.3°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #B5B53D |
|---|---|
| RGB | rgb(181, 181, 61) |
| HSL | hsl(60, 50%, 47%) |
| HSV | hsv(60, 66%, 71%) |
| CMYK | cmyk(0%, 0%, 66.3%, 29%) |
| CIE-LAB | lab(71.70, -14.83, 58.52) |
| CIE-LCH | lch(71.70, 60.37, 104.22°) |
| OKLab | oklab(75.09% -0.0461 0.1315) |
| OKLCH | oklch(75.09% 0.139 109.3) |
| XYZ | xyz(36.4234, 43.2095, 10.8356) |
| Luminance | 0.4321 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 4.19
Snot
#ACBB0D
ΔE00 4.52
Puke Yellow
#C2BE0E
ΔE00 4.91
Olive Yellow
#C2B709
ΔE00 5.02
Puke
#A5A502
ΔE00 5.36
Vomit
#A2A415
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5B53D #3D3DB5
analogous
#B5793D #B5B53D #79B53D
triadic
#B5B53D #3DB5B5 #B53DB5
tetradic
#B5B53D #3DB579 #3D3DB5 #B53D79
square
#B5B53D #3DB579 #3D3DB5 #B53D79
split-complementary
#B5B53D #3D79B5 #793DB5
monochromatic
#59591E #87872E #B5B53D #CBCB64 #DADA92
Accessibility & contrast
On white
2.18
#B5B53D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.64
#B5B53D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5B53D
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5B53D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5B53D | 1.00 | 2.18 | 9.64 | 9.64 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AE2C
Deuteranopia (green-blind)
#C5B145
Tritanopia (blue-blind)
#C1AA9D
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b5b53d; /* rgb */ color: rgb(181, 181, 61); /* oklch */ color: oklch(75.1% 0.139 109.3);
Tailwind
colors: {
custom: {
50: '#ceca79',
500: '#b5b53d',
950: '#000000',
},
}SCSS
$custom: #b5b53d; $custom-light: #ceca79; $custom-dark: #000000;
JSON
{
"hex": "#b5b53d",
"rgb": {
"r": 181,
"g": 181,
"b": 61
},
"hsl": {
"h": 60,
"s": 49.587,
"l": 47.451
},
"oklch": {
"l": 0.7509,
"c": 0.13939,
"h": 109.3
},
"luminance": 0.43208
}Semantic roles & 50–950 ramp
primary
#B5B53D
secondary
#8888C5
accent
#4FD94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B