#B1A233#B1A233
#B1A233 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.5% C 0.129 H 101.4°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #B1A233 |
|---|---|
| RGB | rgb(177, 162, 51) |
| HSL | hsl(53, 55%, 45%) |
| HSV | hsv(53, 71%, 69%) |
| CMYK | cmyk(0%, 8.5%, 71.2%, 30.6%) |
| CIE-LAB | lab(66.08, -7.23, 56.71) |
| CIE-LCH | lch(66.08, 57.17, 97.27°) |
| OKLab | oklab(70.51% -0.0255 0.1261) |
| OKLCH | oklch(70.51% 0.129 101.4) |
| XYZ | xyz(31.6507, 35.4282, 8.3025) |
| Luminance | 0.3543 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 4.91
Muddy Yellow
#BFAC05
ΔE00 4.94
Brown Yellow
#B29705
ΔE00 4.97
Vomit
#A2A415
ΔE00 5.00
Baby Poo
#AB9004
ΔE00 6.38
Dark Gold
#B59410
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1A233 #3342B1
analogous
#B16333 #B1A233 #81B133
triadic
#B1A233 #33B1A2 #A233B1
tetradic
#B1A233 #33B163 #3342B1 #B13381
square
#B1A233 #33B163 #3342B1 #B13381
split-complementary
#B1A233 #3381B1 #6333B1
monochromatic
#524B18 #817725 #B1A233 #CEBF54 #DBD183
Accessibility & contrast
On white
2.60
#B1A233 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.09
#B1A233 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1A233
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1A233 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1A233 | 1.00 | 2.60 | 8.09 | 8.09 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19D22
Deuteranopia (green-blind)
#B5A33A
Tritanopia (blue-blind)
#BF968C
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #b1a233; /* rgb */ color: rgb(177, 162, 51); /* oklch */ color: oklch(70.5% 0.129 101.4);
Tailwind
colors: {
custom: {
50: '#ccbd72',
500: '#b1a233',
950: '#000000',
},
}SCSS
$custom: #b1a233; $custom-light: #ccbd72; $custom-dark: #000000;
JSON
{
"hex": "#b1a233",
"rgb": {
"r": 177,
"g": 162,
"b": 51
},
"hsl": {
"h": 52.857,
"s": 55.263,
"l": 44.706
},
"oklch": {
"l": 0.70513,
"c": 0.12868,
"h": 101.4
},
"luminance": 0.35427
}Semantic roles & 50–950 ramp
primary
#B1A233
secondary
#7B84C5
accent
#5BDF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B