#B1A82B#B1A82B
#B1A82B is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.8% C 0.139 H 105.1°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #B1A82B |
|---|---|
| RGB | rgb(177, 168, 43) |
| HSL | hsl(56, 61%, 43%) |
| HSV | hsv(56, 76%, 69%) |
| CMYK | cmyk(0%, 5.1%, 75.7%, 30.6%) |
| CIE-LAB | lab(67.67, -10.76, 61.15) |
| CIE-LCH | lch(67.67, 62.09, 99.98°) |
| OKLab | oklab(71.76% -0.0363 0.134) |
| OKLCH | oklch(71.76% 0.139 105.1) |
| XYZ | xyz(32.5715, 37.5281, 7.8130) |
| Luminance | 0.3753 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.15
Vomit
#A2A415
ΔE00 3.46
Muddy Yellow
#BFAC05
ΔE00 4.08
Olive Yellow
#C2B709
ΔE00 5.25
Brownish Yellow
#C9B003
ΔE00 6.02
Mustard Green
#A8B504
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1A82B #2B34B1
analogous
#B1652B #B1A82B #77B12B
triadic
#B1A82B #2BB1A8 #A82BB1
tetradic
#B1A82B #2BB165 #2B34B1 #B12B77
square
#B1A82B #2BB165 #2B34B1 #B12B77
split-complementary
#B1A82B #2B77B1 #652BB1
monochromatic
#4F4B13 #80791F #B1A82B #D2C947 #DED778
Accessibility & contrast
On white
2.47
#B1A82B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.51
#B1A82B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1A82B
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1A82B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1A82B | 1.00 | 2.47 | 8.51 | 8.51 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A20F
Deuteranopia (green-blind)
#BAA735
Tritanopia (blue-blind)
#BE9C90
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b1a82b; /* rgb */ color: rgb(177, 168, 43); /* oklch */ color: oklch(71.8% 0.139 105.1);
Tailwind
colors: {
custom: {
50: '#ccc16e',
500: '#b1a82b',
950: '#000000',
},
}SCSS
$custom: #b1a82b; $custom-light: #ccc16e; $custom-dark: #000000;
JSON
{
"hex": "#b1a82b",
"rgb": {
"r": 177,
"g": 168,
"b": 43
},
"hsl": {
"h": 55.97,
"s": 60.909,
"l": 43.137
},
"oklch": {
"l": 0.71762,
"c": 0.13885,
"h": 105.1
},
"luminance": 0.37527
}Semantic roles & 50–950 ramp
primary
#B1A82B
secondary
#7277C6
accent
#4FE444
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B