#B1A02A#B1A02A
#B1A02A is a light, vivid yellow. Relative luminance 0.347; OKLCH L 70.0% C 0.133 H 100.7°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #B1A02A |
|---|---|
| RGB | rgb(177, 160, 42) |
| HSL | hsl(52, 62%, 43%) |
| HSV | hsv(52, 76%, 69%) |
| CMYK | cmyk(0%, 9.6%, 76.3%, 30.6%) |
| CIE-LAB | lab(65.48, -6.59, 59.46) |
| CIE-LCH | lch(65.48, 59.82, 96.32°) |
| OKLab | oklab(70.02% -0.0246 0.1302) |
| OKLCH | oklch(70.02% 0.133 100.7) |
| XYZ | xyz(31.1217, 34.6574, 7.2403) |
| Luminance | 0.3466 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.97
Muddy Yellow
#BFAC05
ΔE00 4.68
Puke
#A5A502
ΔE00 5.04
Vomit
#A2A415
ΔE00 5.28
Baby Poo
#AB9004
ΔE00 5.49
Dark Gold
#B59410
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1A02A #2A3BB1
analogous
#B15C2A #B1A02A #7FB12A
triadic
#B1A02A #2AB1A0 #A02AB1
tetradic
#B1A02A #2AB15C #2A3BB1 #B12A7F
square
#B1A02A #2AB15C #2A3BB1 #B12A7F
split-complementary
#B1A02A #2A7FB1 #5C2AB1
monochromatic
#4E4713 #80731E #B1A02A #D3C145 #DFD277
Accessibility & contrast
On white
2.65
#B1A02A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.93
#B1A02A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1A02A
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1A02A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1A02A | 1.00 | 2.65 | 7.93 | 7.93 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B11
Deuteranopia (green-blind)
#B4A232
Tritanopia (blue-blind)
#BF948A
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #b1a02a; /* rgb */ color: rgb(177, 160, 42); /* oklch */ color: oklch(70.0% 0.133 100.7);
Tailwind
colors: {
custom: {
50: '#ccbb6d',
500: '#b1a02a',
950: '#000000',
},
}SCSS
$custom: #b1a02a; $custom-light: #ccbb6d; $custom-dark: #000000;
JSON
{
"hex": "#b1a02a",
"rgb": {
"r": 177,
"g": 160,
"b": 42
},
"hsl": {
"h": 52.444,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.70019,
"c": 0.13254,
"h": 100.7
},
"luminance": 0.34656
}Semantic roles & 50–950 ramp
primary
#B1A02A
secondary
#707BC6
accent
#57E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A