#B5B02E#B5B02E
#B5B02E is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.9% C 0.144 H 107.2°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #B5B02E |
|---|---|
| RGB | rgb(181, 176, 46) |
| HSL | hsl(58, 59%, 45%) |
| HSV | hsv(58, 75%, 71%) |
| CMYK | cmyk(0%, 2.8%, 74.6%, 29%) |
| CIE-LAB | lab(70.23, -13.03, 62.64) |
| CIE-LCH | lch(70.23, 63.98, 101.75°) |
| OKLab | oklab(73.89% -0.0426 0.1376) |
| OKLCH | oklch(73.89% 0.144 107.2) |
| XYZ | xyz(35.0759, 41.0729, 8.6645) |
| Luminance | 0.4107 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.84
Puke
#A5A502
ΔE00 3.95
Vomit
#A2A415
ΔE00 4.30
Muddy Yellow
#BFAC05
ΔE00 4.43
Mustard Green
#A8B504
ΔE00 4.53
Puke Yellow
#C2BE0E
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5B02E #2E33B5
analogous
#B56D2E #B5B02E #76B52E
triadic
#B5B02E #2EB5B0 #B02EB5
tetradic
#B5B02E #2EB56D #2E33B5 #B52E76
square
#B5B02E #2EB56D #2E33B5 #B52E76
split-complementary
#B5B02E #2E76B5 #6D2EB5
monochromatic
#535115 #848122 #B5B02E #D2CD4E #DEDB7F
Accessibility & contrast
On white
2.28
#B5B02E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.21
#B5B02E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5B02E
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5B02E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5B02E | 1.00 | 2.28 | 9.21 | 9.21 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA912
Deuteranopia (green-blind)
#C2AE38
Tritanopia (blue-blind)
#C2A497
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #b5b02e; /* rgb */ color: rgb(181, 176, 46); /* oklch */ color: oklch(73.9% 0.144 107.2);
Tailwind
colors: {
custom: {
50: '#cfc771',
500: '#b5b02e',
950: '#000000',
},
}SCSS
$custom: #b5b02e; $custom-light: #cfc771; $custom-dark: #000000;
JSON
{
"hex": "#b5b02e",
"rgb": {
"r": 181,
"g": 176,
"b": 46
},
"hsl": {
"h": 57.778,
"s": 59.471,
"l": 44.51
},
"oklch": {
"l": 0.73887,
"c": 0.14404,
"h": 107.2
},
"luminance": 0.41072
}Semantic roles & 50–950 ramp
primary
#B5B02E
secondary
#787BC7
accent
#4BE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B