#B1A42A#B1A42A
#B1A42A is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.9% C 0.136 H 103.0°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #B1A42A |
|---|---|
| RGB | rgb(177, 164, 42) |
| HSL | hsl(54, 62%, 43%) |
| HSV | hsv(54, 76%, 69%) |
| CMYK | cmyk(0%, 7.3%, 76.3%, 30.6%) |
| CIE-LAB | lab(66.57, -8.70, 60.47) |
| CIE-LCH | lch(66.57, 61.09, 98.19°) |
| OKLab | oklab(70.88% -0.0306 0.1324) |
| OKLCH | oklch(70.88% 0.136 103) |
| XYZ | xyz(31.8263, 36.0666, 7.4752) |
| Luminance | 0.3607 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.87
Muddy Yellow
#BFAC05
ΔE00 4.08
Vomit
#A2A415
ΔE00 4.17
Brown Yellow
#B29705
ΔE00 5.33
Brownish Yellow
#C9B003
ΔE00 5.97
Olive Yellow
#C2B709
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1A42A #2A37B1
analogous
#B1602A #B1A42A #7BB12A
triadic
#B1A42A #2AB1A4 #A42AB1
tetradic
#B1A42A #2AB160 #2A37B1 #B12A7B
square
#B1A42A #2AB160 #2A37B1 #B12A7B
split-complementary
#B1A42A #2A7BB1 #602AB1
monochromatic
#4E4813 #80761E #B1A42A #D3C545 #DFD577
Accessibility & contrast
On white
2.56
#B1A42A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.21
#B1A42A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1A42A
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1A42A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1A42A | 1.00 | 2.56 | 8.21 | 8.21 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39F0F
Deuteranopia (green-blind)
#B7A533
Tritanopia (blue-blind)
#BF988D
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b1a42a; /* rgb */ color: rgb(177, 164, 42); /* oklch */ color: oklch(70.9% 0.136 103.0);
Tailwind
colors: {
custom: {
50: '#ccbe6d',
500: '#b1a42a',
950: '#000000',
},
}SCSS
$custom: #b1a42a; $custom-light: #ccbe6d; $custom-dark: #000000;
JSON
{
"hex": "#b1a42a",
"rgb": {
"r": 177,
"g": 164,
"b": 42
},
"hsl": {
"h": 54.222,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.70885,
"c": 0.13588,
"h": 103
},
"luminance": 0.36065
}Semantic roles & 50–950 ramp
primary
#B1A42A
secondary
#7079C6
accent
#53E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B