#B5B52D#B5B52D
#B5B52D is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.0% C 0.149 H 109.5°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #B5B52D |
|---|---|
| RGB | rgb(181, 181, 45) |
| HSL | hsl(60, 60%, 44%) |
| HSV | hsv(60, 75%, 71%) |
| CMYK | cmyk(0%, 0%, 75.1%, 29%) |
| CIE-LAB | lab(71.60, -15.63, 64.25) |
| CIE-LCH | lch(71.60, 66.12, 103.67°) |
| OKLab | oklab(74.98% -0.0499 0.1408) |
| OKLCH | oklch(74.98% 0.149 109.5) |
| XYZ | xyz(36.0549, 43.0621, 8.8947) |
| Luminance | 0.4306 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.31
Snot
#ACBB0D
ΔE00 3.72
Puke Yellow
#C2BE0E
ΔE00 3.77
Olive Yellow
#C2B709
ΔE00 3.90
Vomit Yellow
#C7C10C
ΔE00 4.73
Puke
#A5A502
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5B52D #2D2DB5
analogous
#B5712D #B5B52D #71B52D
triadic
#B5B52D #2DB5B5 #B52DB5
tetradic
#B5B52D #2DB571 #2D2DB5 #B52D71
square
#B5B52D #2DB571 #2D2DB5 #B52D71
split-complementary
#B5B52D #2D71B5 #712DB5
monochromatic
#535315 #848421 #B5B52D #D3D34D #DFDF7E
Accessibility & contrast
On white
2.18
#B5B52D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.61
#B5B52D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5B52D
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5B52D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5B52D | 1.00 | 2.18 | 9.61 | 9.61 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD0C
Deuteranopia (green-blind)
#C5B138
Tritanopia (blue-blind)
#C2A99B
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #b5b52d; /* rgb */ color: rgb(181, 181, 45); /* oklch */ color: oklch(75.0% 0.149 109.5);
Tailwind
colors: {
custom: {
50: '#cfca71',
500: '#b5b52d',
950: '#000000',
},
}SCSS
$custom: #b5b52d; $custom-light: #cfca71; $custom-dark: #000000;
JSON
{
"hex": "#b5b52d",
"rgb": {
"r": 181,
"g": 181,
"b": 45
},
"hsl": {
"h": 60,
"s": 60.177,
"l": 44.314
},
"oklch": {
"l": 0.74979,
"c": 0.14943,
"h": 109.5
},
"luminance": 0.43061
}Semantic roles & 50–950 ramp
primary
#B5B52D
secondary
#7676C7
accent
#44E344
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B