#B1A02B#B1A02B
#B1A02B is a light, vivid yellow. Relative luminance 0.347; OKLCH L 70.0% C 0.132 H 100.7°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #B1A02B |
|---|---|
| RGB | rgb(177, 160, 43) |
| HSL | hsl(52, 61%, 43%) |
| HSV | hsv(52, 76%, 69%) |
| CMYK | cmyk(0%, 9.6%, 75.7%, 30.6%) |
| CIE-LAB | lab(65.49, -6.55, 59.11) |
| CIE-LCH | lch(65.49, 59.47, 96.32°) |
| OKLab | oklab(70.03% -0.0244 0.1297) |
| OKLCH | oklch(70.03% 0.132 100.7) |
| XYZ | xyz(31.1398, 34.6646, 7.3357) |
| Luminance | 0.3466 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.01
Muddy Yellow
#BFAC05
ΔE00 4.74
Puke
#A5A502
ΔE00 5.08
Vomit
#A2A415
ΔE00 5.31
Baby Poo
#AB9004
ΔE00 5.50
Dark Gold
#B59410
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1A02B #2B3CB1
analogous
#B15D2B #B1A02B #7FB12B
triadic
#B1A02B #2BB1A0 #A02BB1
tetradic
#B1A02B #2BB15D #2B3CB1 #B12B7F
square
#B1A02B #2BB15D #2B3CB1 #B12B7F
split-complementary
#B1A02B #2B7FB1 #5D2BB1
monochromatic
#4F4713 #80731F #B1A02B #D2C147 #DED178
Accessibility & contrast
On white
2.65
#B1A02B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.93
#B1A02B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1A02B
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1A02B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1A02B | 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)
#B09B14
Deuteranopia (green-blind)
#B4A233
Tritanopia (blue-blind)
#BF948A
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #b1a02b; /* rgb */ color: rgb(177, 160, 43); /* oklch */ color: oklch(70.0% 0.132 100.7);
Tailwind
colors: {
custom: {
50: '#ccbb6d',
500: '#b1a02b',
950: '#000000',
},
}SCSS
$custom: #b1a02b; $custom-light: #ccbb6d; $custom-dark: #000000;
JSON
{
"hex": "#b1a02b",
"rgb": {
"r": 177,
"g": 160,
"b": 43
},
"hsl": {
"h": 52.388,
"s": 60.909,
"l": 43.137
},
"oklch": {
"l": 0.70025,
"c": 0.13198,
"h": 100.7
},
"luminance": 0.34663
}Semantic roles & 50–950 ramp
primary
#B1A02B
secondary
#727CC6
accent
#58E444
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B