#B1A62A#B1A62A
#B1A62A is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.3% C 0.138 H 104.1°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #B1A62A |
|---|---|
| RGB | rgb(177, 166, 42) |
| HSL | hsl(55, 62%, 43%) |
| HSV | hsv(55, 76%, 69%) |
| CMYK | cmyk(0%, 6.2%, 76.3%, 30.6%) |
| CIE-LAB | lab(67.12, -9.75, 60.98) |
| CIE-LCH | lch(67.12, 61.75, 99.09°) |
| OKLab | oklab(71.32% -0.0336 0.1335) |
| OKLCH | oklch(71.32% 0.138 104.1) |
| XYZ | xyz(32.1870, 36.7880, 7.5954) |
| Luminance | 0.3679 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.42
Vomit
#A2A415
ΔE00 3.74
Muddy Yellow
#BFAC05
ΔE00 3.98
Olive Yellow
#C2B709
ΔE00 5.63
Brownish Yellow
#C9B003
ΔE00 5.93
Brown Yellow
#B29705
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1A62A #2A35B1
analogous
#B1622A #B1A62A #78B12A
triadic
#B1A62A #2AB1A6 #A62AB1
tetradic
#B1A62A #2AB162 #2A35B1 #B12A78
square
#B1A62A #2AB162 #2A35B1 #B12A78
split-complementary
#B1A62A #2A78B1 #622AB1
monochromatic
#4E4913 #80781E #B1A62A #D3C745 #DFD677
Accessibility & contrast
On white
2.51
#B1A62A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.36
#B1A62A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1A62A
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1A62A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1A62A | 1.00 | 2.51 | 8.36 | 8.36 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A00E
Deuteranopia (green-blind)
#B9A633
Tritanopia (blue-blind)
#BF9A8F
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b1a62a; /* rgb */ color: rgb(177, 166, 42); /* oklch */ color: oklch(71.3% 0.138 104.1);
Tailwind
colors: {
custom: {
50: '#ccc06e',
500: '#b1a62a',
950: '#000000',
},
}SCSS
$custom: #b1a62a; $custom-light: #ccc06e; $custom-dark: #000000;
JSON
{
"hex": "#b1a62a",
"rgb": {
"r": 177,
"g": 166,
"b": 42
},
"hsl": {
"h": 55.111,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.7132,
"c": 0.13762,
"h": 104.1
},
"luminance": 0.36787
}Semantic roles & 50–950 ramp
primary
#B1A62A
secondary
#7077C6
accent
#50E543
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B