#B1A42E#B1A42E
#B1A42E is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.9% C 0.134 H 102.9°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #B1A42E |
|---|---|
| RGB | rgb(177, 164, 46) |
| HSL | hsl(54, 59%, 44%) |
| HSV | hsv(54, 74%, 69%) |
| CMYK | cmyk(0%, 7.3%, 74%, 30.6%) |
| CIE-LAB | lab(66.59, -8.53, 59.09) |
| CIE-LCH | lch(66.59, 59.70, 98.21°) |
| OKLab | oklab(70.91% -0.0297 0.1302) |
| OKLCH | oklch(70.91% 0.134 102.9) |
| XYZ | xyz(31.9015, 36.0966, 7.8712) |
| Luminance | 0.3609 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 4.07
Vomit
#A2A415
ΔE00 4.27
Muddy Yellow
#BFAC05
ΔE00 4.33
Brown Yellow
#B29705
ΔE00 5.43
Brownish Yellow
#C9B003
ΔE00 6.16
Olive Yellow
#C2B709
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1A42E #2E3BB1
analogous
#B1622E #B1A42E #7CB12E
triadic
#B1A42E #2EB1A4 #A42EB1
tetradic
#B1A42E #2EB162 #2E3BB1 #B12E7C
square
#B1A42E #2EB162 #2E3BB1 #B12E7C
split-complementary
#B1A42E #2E7CB1 #622EB1
monochromatic
#504A15 #807721 #B1A42E #D0C34C #DDD37C
Accessibility & contrast
On white
2.56
#B1A42E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.22
#B1A42E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1A42E
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1A42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1A42E | 1.00 | 2.56 | 8.22 | 8.22 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39F18
Deuteranopia (green-blind)
#B7A536
Tritanopia (blue-blind)
#BF988D
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b1a42e; /* rgb */ color: rgb(177, 164, 46); /* oklch */ color: oklch(70.9% 0.134 102.9);
Tailwind
colors: {
custom: {
50: '#ccbe6f',
500: '#b1a42e',
950: '#000000',
},
}SCSS
$custom: #b1a42e; $custom-light: #ccbe6f; $custom-dark: #000000;
JSON
{
"hex": "#b1a42e",
"rgb": {
"r": 177,
"g": 164,
"b": 46
},
"hsl": {
"h": 54.046,
"s": 58.744,
"l": 43.725
},
"oklch": {
"l": 0.7091,
"c": 0.13357,
"h": 102.9
},
"luminance": 0.36095
}Semantic roles & 50–950 ramp
primary
#B1A42E
secondary
#757DC6
accent
#55E246
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B