#B5A72E#B5A72E
#B5A72E is a light, vivid yellow. Relative luminance 0.377; OKLCH L 71.9% C 0.136 H 102.5°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #B5A72E |
|---|---|
| RGB | rgb(181, 167, 46) |
| HSL | hsl(54, 59%, 45%) |
| HSV | hsv(54, 75%, 71%) |
| CMYK | cmyk(0%, 7.7%, 74.6%, 29%) |
| CIE-LAB | lab(67.77, -8.35, 60.33) |
| CIE-LCH | lch(67.77, 60.90, 97.88°) |
| OKLab | oklab(71.93% -0.0294 0.1327) |
| OKLCH | oklch(71.93% 0.136 102.5) |
| XYZ | xyz(33.3694, 37.6599, 8.0956) |
| Luminance | 0.3766 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.50
Puke
#A5A502
ΔE00 4.34
Vomit
#A2A415
ΔE00 4.71
Brownish Yellow
#C9B003
ΔE00 5.26
Olive Yellow
#C2B709
ΔE00 5.42
Brown Yellow
#B29705
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5A72E #2E3CB5
analogous
#B5642E #B5A72E #7FB52E
triadic
#B5A72E #2EB5A7 #A72EB5
tetradic
#B5A72E #2EB564 #2E3CB5 #B52E7F
square
#B5A72E #2EB564 #2E3CB5 #B52E7F
split-complementary
#B5A72E #2E7FB5 #642EB5
monochromatic
#534D15 #847A22 #B5A72E #D2C44E #DED57F
Accessibility & contrast
On white
2.46
#B5A72E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.53
#B5A72E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5A72E
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5A72E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5A72E | 1.00 | 2.46 | 8.53 | 8.53 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A217
Deuteranopia (green-blind)
#BBA837
Tritanopia (blue-blind)
#C39B90
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b5a72e; /* rgb */ color: rgb(181, 167, 46); /* oklch */ color: oklch(71.9% 0.136 102.5);
Tailwind
colors: {
custom: {
50: '#cfc070',
500: '#b5a72e',
950: '#000000',
},
}SCSS
$custom: #b5a72e; $custom-light: #cfc070; $custom-dark: #000000;
JSON
{
"hex": "#b5a72e",
"rgb": {
"r": 181,
"g": 167,
"b": 46
},
"hsl": {
"h": 53.778,
"s": 59.471,
"l": 44.51
},
"oklch": {
"l": 0.7193,
"c": 0.13592,
"h": 102.5
},
"luminance": 0.37658
}Semantic roles & 50–950 ramp
primary
#B5A72E
secondary
#7880C7
accent
#55E345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B