#B5B62D#B5B62D
#B5B62D is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.2% C 0.150 H 110.0°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #B5B62D |
|---|---|
| RGB | rgb(181, 182, 45) |
| HSL | hsl(60, 60%, 45%) |
| HSV | hsv(60, 75%, 71%) |
| CMYK | cmyk(0.5%, 0%, 75.3%, 28.6%) |
| CIE-LAB | lab(71.87, -16.13, 64.50) |
| CIE-LCH | lch(71.87, 66.49, 104.04°) |
| OKLab | oklab(75.2% -0.0513 0.1414) |
| OKLCH | oklch(75.2% 0.15 110) |
| XYZ | xyz(36.2590, 43.4702, 8.9627) |
| Luminance | 0.4347 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.14
Snot
#ACBB0D
ΔE00 3.44
Puke Yellow
#C2BE0E
ΔE00 3.67
Olive Yellow
#C2B709
ΔE00 4.01
Bile
#B5C306
ΔE00 4.49
Vomit Yellow
#C7C10C
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5B62D #2E2DB6
analogous
#B6732D #B5B62D #71B62D
triadic
#B5B62D #2DB5B6 #B62DB5
tetradic
#B5B62D #2DB673 #2E2DB6 #B62D71
square
#B5B62D #2DB673 #2E2DB6 #B62D71
split-complementary
#B5B62D #2D71B6 #732DB6
monochromatic
#535415 #848521 #B5B62D #D2D34D #DEDF7E
Accessibility & contrast
On white
2.17
#B5B62D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.69
#B5B62D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5B62D
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5B62D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5B62D | 1.00 | 2.17 | 9.69 | 9.69 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE0B
Deuteranopia (green-blind)
#C6B238
Tritanopia (blue-blind)
#C2AA9C
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b5b62d; /* rgb */ color: rgb(181, 182, 45); /* oklch */ color: oklch(75.2% 0.150 110.0);
Tailwind
colors: {
custom: {
50: '#cfcb71',
500: '#b5b62d',
950: '#000000',
},
}SCSS
$custom: #b5b62d; $custom-light: #cfcb71; $custom-dark: #000000;
JSON
{
"hex": "#b5b62d",
"rgb": {
"r": 181,
"g": 182,
"b": 45
},
"hsl": {
"h": 60.438,
"s": 60.352,
"l": 44.51
},
"oklch": {
"l": 0.75199,
"c": 0.15041,
"h": 110
},
"luminance": 0.43469
}Semantic roles & 50–950 ramp
primary
#B5B62D
secondary
#7877C8
accent
#44E345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B