#B5A72D#B5A72D
#B5A72D is a light, vivid yellow. Relative luminance 0.377; OKLCH L 71.9% C 0.137 H 102.5°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #B5A72D |
|---|---|
| RGB | rgb(181, 167, 45) |
| HSL | hsl(54, 60%, 44%) |
| HSV | hsv(54, 75%, 71%) |
| CMYK | cmyk(0%, 7.7%, 75.1%, 29%) |
| CIE-LAB | lab(67.76, -8.39, 60.68) |
| CIE-LCH | lch(67.76, 61.25, 97.87°) |
| OKLab | oklab(71.92% -0.0296 0.1332) |
| OKLCH | oklch(71.92% 0.137 102.5) |
| XYZ | xyz(33.3499, 37.6521, 7.9930) |
| Luminance | 0.3765 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.43
Puke
#A5A502
ΔE00 4.30
Vomit
#A2A415
ΔE00 4.69
Brownish Yellow
#C9B003
ΔE00 5.21
Olive Yellow
#C2B709
ΔE00 5.37
Brown Yellow
#B29705
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5A72D #2D3BB5
analogous
#B5632D #B5A72D #7FB52D
triadic
#B5A72D #2DB5A7 #A72DB5
tetradic
#B5A72D #2DB563 #2D3BB5 #B52D7F
square
#B5A72D #2DB563 #2D3BB5 #B52D7F
split-complementary
#B5A72D #2D7FB5 #632DB5
monochromatic
#534D15 #847A21 #B5A72D #D3C54D #DFD57E
Accessibility & contrast
On white
2.46
#B5A72D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.53
#B5A72D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5A72D
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5A72D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5A72D | 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)
#B7A214
Deuteranopia (green-blind)
#BBA836
Tritanopia (blue-blind)
#C39B90
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b5a72d; /* rgb */ color: rgb(181, 167, 45); /* oklch */ color: oklch(71.9% 0.137 102.5);
Tailwind
colors: {
custom: {
50: '#cfc06f',
500: '#b5a72d',
950: '#000000',
},
}SCSS
$custom: #b5a72d; $custom-light: #cfc06f; $custom-dark: #000000;
JSON
{
"hex": "#b5a72d",
"rgb": {
"r": 181,
"g": 167,
"b": 45
},
"hsl": {
"h": 53.824,
"s": 60.177,
"l": 44.314
},
"oklch": {
"l": 0.71924,
"c": 0.1365,
"h": 102.5
},
"luminance": 0.37651
}Semantic roles & 50–950 ramp
primary
#B5A72D
secondary
#767FC7
accent
#55E344
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B