#B1A12B#B1A12B
#B1A12B is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.2% C 0.133 H 101.3°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #B1A12B |
|---|---|
| RGB | rgb(177, 161, 43) |
| HSL | hsl(53, 61%, 43%) |
| HSV | hsv(53, 76%, 69%) |
| CMYK | cmyk(0%, 9%, 75.7%, 30.6%) |
| CIE-LAB | lab(65.76, -7.08, 59.37) |
| CIE-LCH | lch(65.76, 59.79, 96.80°) |
| OKLab | oklab(70.24% -0.0259 0.1302) |
| OKLCH | oklch(70.24% 0.133 101.3) |
| XYZ | xyz(31.3139, 35.0127, 7.3937) |
| Luminance | 0.3501 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.33
Muddy Yellow
#BFAC05
ΔE00 4.55
Puke
#A5A502
ΔE00 4.76
Vomit
#A2A415
ΔE00 5.00
Baby Poo
#AB9004
ΔE00 5.85
Dark Gold
#B59410
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1A12B #2B3BB1
analogous
#B15E2B #B1A12B #7EB12B
triadic
#B1A12B #2BB1A1 #A12BB1
tetradic
#B1A12B #2BB15E #2B3BB1 #B12B7E
square
#B1A12B #2BB15E #2B3BB1 #B12B7E
split-complementary
#B1A12B #2B7EB1 #5E2BB1
monochromatic
#4F4713 #80741F #B1A12B #D2C247 #DED278
Accessibility & contrast
On white
2.62
#B1A12B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.00
#B1A12B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1A12B
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1A12B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1A12B | 1.00 | 2.62 | 8.00 | 8.00 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C13
Deuteranopia (green-blind)
#B5A333
Tritanopia (blue-blind)
#BF958A
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #b1a12b; /* rgb */ color: rgb(177, 161, 43); /* oklch */ color: oklch(70.2% 0.133 101.3);
Tailwind
colors: {
custom: {
50: '#ccbc6e',
500: '#b1a12b',
950: '#000000',
},
}SCSS
$custom: #b1a12b; $custom-light: #ccbc6e; $custom-dark: #000000;
JSON
{
"hex": "#b1a12b",
"rgb": {
"r": 177,
"g": 161,
"b": 43
},
"hsl": {
"h": 52.836,
"s": 60.909,
"l": 43.137
},
"oklch": {
"l": 0.70241,
"c": 0.13279,
"h": 101.3
},
"luminance": 0.35011
}Semantic roles & 50–950 ramp
primary
#B1A12B
secondary
#727CC6
accent
#57E444
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B