#B1A72A#B1A72A
#B1A72A is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.5% C 0.139 H 104.6°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #B1A72A |
|---|---|
| RGB | rgb(177, 167, 42) |
| HSL | hsl(56, 62%, 43%) |
| HSV | hsv(56, 76%, 69%) |
| CMYK | cmyk(0%, 5.6%, 76.3%, 30.6%) |
| CIE-LAB | lab(67.39, -10.28, 61.23) |
| CIE-LCH | lch(67.39, 62.09, 99.53°) |
| OKLab | oklab(71.54% -0.035 0.134) |
| OKLCH | oklch(71.54% 0.139 104.6) |
| XYZ | xyz(32.3695, 37.1530, 7.6562) |
| Luminance | 0.3715 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.25
Vomit
#A2A415
ΔE00 3.58
Muddy Yellow
#BFAC05
ΔE00 3.99
Olive Yellow
#C2B709
ΔE00 5.40
Brownish Yellow
#C9B003
ΔE00 5.94
Brown Yellow
#B29705
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1A72A #2A34B1
analogous
#B1642A #B1A72A #77B12A
triadic
#B1A72A #2AB1A7 #A72AB1
tetradic
#B1A72A #2AB164 #2A34B1 #B12A77
square
#B1A72A #2AB164 #2A34B1 #B12A77
split-complementary
#B1A72A #2A77B1 #642AB1
monochromatic
#4E4A13 #80781E #B1A72A #D3C845 #DFD777
Accessibility & contrast
On white
2.49
#B1A72A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.43
#B1A72A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1A72A
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1A72A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1A72A | 1.00 | 2.49 | 8.43 | 8.43 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A10D
Deuteranopia (green-blind)
#BAA734
Tritanopia (blue-blind)
#BF9B8F
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b1a72a; /* rgb */ color: rgb(177, 167, 42); /* oklch */ color: oklch(71.5% 0.139 104.6);
Tailwind
colors: {
custom: {
50: '#ccc06e',
500: '#b1a72a',
950: '#000000',
},
}SCSS
$custom: #b1a72a; $custom-light: #ccc06e; $custom-dark: #000000;
JSON
{
"hex": "#b1a72a",
"rgb": {
"r": 177,
"g": 167,
"b": 42
},
"hsl": {
"h": 55.556,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.71538,
"c": 0.13851,
"h": 104.6
},
"luminance": 0.37152
}Semantic roles & 50–950 ramp
primary
#B1A72A
secondary
#7077C6
accent
#4FE543
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B