#B5B72E#B5B72E
#B5B72E is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.4% C 0.151 H 110.4°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #B5B72E |
|---|---|
| RGB | rgb(181, 183, 46) |
| HSL | hsl(61, 60%, 45%) |
| HSV | hsv(61, 75%, 72%) |
| CMYK | cmyk(1.1%, 0%, 74.9%, 28.2%) |
| CIE-LAB | lab(72.15, -16.60, 64.44) |
| CIE-LCH | lch(72.15, 66.54, 104.44°) |
| OKLab | oklab(75.43% -0.0525 0.1414) |
| OKLCH | oklch(75.43% 0.151 110.4) |
| XYZ | xyz(36.4840, 43.8890, 9.1338) |
| Luminance | 0.4389 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.03
Snot
#ACBB0D
ΔE00 3.21
Puke Yellow
#C2BE0E
ΔE00 3.67
Olive Yellow
#C2B709
ΔE00 4.19
Bile
#B5C306
ΔE00 4.23
Baby Puke Green
#B6C406
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5B72E #302EB7
analogous
#B7752E #B5B72E #70B72E
triadic
#B5B72E #2EB5B7 #B72EB5
tetradic
#B5B72E #2EB775 #302EB7 #B72E70
square
#B5B72E #2EB775 #302EB7 #B72E70
split-complementary
#B5B72E #2E70B7 #752EB7
monochromatic
#545515 #858622 #B5B72E #D1D34F #DEDF80
Accessibility & contrast
On white
2.15
#B5B72E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.78
#B5B72E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5B72E
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5B72E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5B72E | 1.00 | 2.15 | 9.78 | 9.78 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF0D
Deuteranopia (green-blind)
#C7B339
Tritanopia (blue-blind)
#C2AB9D
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b5b72e; /* rgb */ color: rgb(181, 183, 46); /* oklch */ color: oklch(75.4% 0.151 110.4);
Tailwind
colors: {
custom: {
50: '#cfcc72',
500: '#b5b72e',
950: '#000000',
},
}SCSS
$custom: #b5b72e; $custom-light: #cfcc72; $custom-dark: #000000;
JSON
{
"hex": "#b5b72e",
"rgb": {
"r": 181,
"g": 183,
"b": 46
},
"hsl": {
"h": 60.876,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.75426,
"c": 0.15087,
"h": 110.4
},
"luminance": 0.43888
}Semantic roles & 50–950 ramp
primary
#B5B72E
secondary
#7A79C8
accent
#45E347
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B