#B1A72E#B1A72E
#B1A72E is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.6% C 0.136 H 104.5°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #B1A72E |
|---|---|
| RGB | rgb(177, 167, 46) |
| HSL | hsl(55, 59%, 44%) |
| HSV | hsv(55, 74%, 69%) |
| CMYK | cmyk(0%, 5.6%, 74%, 30.6%) |
| CIE-LAB | lab(67.41, -10.10, 59.87) |
| CIE-LCH | lch(67.41, 60.72, 99.58°) |
| OKLab | oklab(71.56% -0.0342 0.1319) |
| OKLCH | oklch(71.56% 0.136 104.5) |
| XYZ | xyz(32.4447, 37.1831, 8.0523) |
| Luminance | 0.3718 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.45
Vomit
#A2A415
ΔE00 3.68
Muddy Yellow
#BFAC05
ΔE00 4.22
Olive Yellow
#C2B709
ΔE00 5.61
Brownish Yellow
#C9B003
ΔE00 6.12
Brown Yellow
#B29705
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1A72E #2E38B1
analogous
#B1652E #B1A72E #79B12E
triadic
#B1A72E #2EB1A7 #A72EB1
tetradic
#B1A72E #2EB165 #2E38B1 #B12E79
square
#B1A72E #2EB165 #2E38B1 #B12E79
split-complementary
#B1A72E #2E79B1 #652EB1
monochromatic
#504B15 #807921 #B1A72E #D0C64C #DDD67C
Accessibility & contrast
On white
2.49
#B1A72E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.44
#B1A72E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1A72E
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1A72E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1A72E | 1.00 | 2.49 | 8.44 | 8.44 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A117
Deuteranopia (green-blind)
#B9A737
Tritanopia (blue-blind)
#BE9B90
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b1a72e; /* rgb */ color: rgb(177, 167, 46); /* oklch */ color: oklch(71.6% 0.136 104.5);
Tailwind
colors: {
custom: {
50: '#ccc070',
500: '#b1a72e',
950: '#000000',
},
}SCSS
$custom: #b1a72e; $custom-light: #ccc070; $custom-dark: #000000;
JSON
{
"hex": "#b1a72e",
"rgb": {
"r": 177,
"g": 167,
"b": 46
},
"hsl": {
"h": 55.42,
"s": 58.744,
"l": 43.725
},
"oklch": {
"l": 0.71563,
"c": 0.13623,
"h": 104.5
},
"luminance": 0.37182
}Semantic roles & 50–950 ramp
primary
#B1A72E
secondary
#757BC6
accent
#52E246
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B