#B1A82A#B1A82A
#B1A82A is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.8% C 0.139 H 105.2°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #B1A82A |
|---|---|
| RGB | rgb(177, 168, 42) |
| HSL | hsl(56, 62%, 43%) |
| HSV | hsv(56, 76%, 69%) |
| CMYK | cmyk(0%, 5.1%, 76.3%, 30.6%) |
| CIE-LAB | lab(67.67, -10.80, 61.48) |
| CIE-LCH | lch(67.67, 62.42, 99.96°) |
| OKLab | oklab(71.76% -0.0365 0.1346) |
| OKLCH | oklch(71.76% 0.139 105.2) |
| XYZ | xyz(32.5534, 37.5208, 7.7175) |
| Luminance | 0.3752 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.11
Vomit
#A2A415
ΔE00 3.44
Muddy Yellow
#BFAC05
ΔE00 4.02
Olive Yellow
#C2B709
ΔE00 5.20
Brownish Yellow
#C9B003
ΔE00 5.97
Mustard Green
#A8B504
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1A82A #2A33B1
analogous
#B1642A #B1A82A #76B12A
triadic
#B1A82A #2AB1A8 #A82AB1
tetradic
#B1A82A #2AB164 #2A33B1 #B12A76
square
#B1A82A #2AB164 #2A33B1 #B12A76
split-complementary
#B1A82A #2A76B1 #642AB1
monochromatic
#4E4A13 #80791E #B1A82A #D3C945 #DFD877
Accessibility & contrast
On white
2.47
#B1A82A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.50
#B1A82A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1A82A
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1A82A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1A82A | 1.00 | 2.47 | 8.50 | 8.50 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A20C
Deuteranopia (green-blind)
#BAA734
Tritanopia (blue-blind)
#BE9C90
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b1a82a; /* rgb */ color: rgb(177, 168, 42); /* oklch */ color: oklch(71.8% 0.139 105.2);
Tailwind
colors: {
custom: {
50: '#ccc16e',
500: '#b1a82a',
950: '#000000',
},
}SCSS
$custom: #b1a82a; $custom-light: #ccc16e; $custom-dark: #000000;
JSON
{
"hex": "#b1a82a",
"rgb": {
"r": 177,
"g": 168,
"b": 42
},
"hsl": {
"h": 56,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.71756,
"c": 0.13941,
"h": 105.2
},
"luminance": 0.3752
}Semantic roles & 50–950 ramp
primary
#B1A82A
secondary
#7076C6
accent
#4EE543
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B