#B3B271#B3B271
#B3B271 is a light, moderate yellow. Relative luminance 0.426; OKLCH L 74.9% C 0.086 H 107.5°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #B3B271 |
|---|---|
| RGB | rgb(179, 178, 113) |
| HSL | hsl(59, 30%, 57%) |
| HSV | hsv(59, 37%, 70%) |
| CMYK | cmyk(0%, 0.6%, 36.9%, 29.8%) |
| CIE-LAB | lab(71.29, -9.58, 33.38) |
| CIE-LCH | lch(71.29, 34.73, 106.01°) |
| OKLab | oklab(74.92% -0.0259 0.0819) |
| OKLCH | oklch(74.92% 0.086 107.5) |
| XYZ | xyz(37.4919, 42.6175, 21.8706) |
| Luminance | 0.4262 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.02
Khaki (survey)
#AAA662
ΔE00 3.56
Sand
#C2B280
ΔE00 6.11
Tan Green
#A9BE70
ΔE00 6.25
Light Olive
#ACBF69
ΔE00 6.32
Greenish Tan
#BCCB7A
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3B271 #7172B3
analogous
#B39171 #B3B271 #93B371
triadic
#B3B271 #71B3B2 #B271B3
tetradic
#B3B271 #71B391 #7172B3 #B37193
square
#B3B271 #71B391 #7172B3 #B37193
split-complementary
#B3B271 #7193B3 #9171B3
monochromatic
#6E6E3B #969550 #B3B271 #C8C899 #DEDDC1
Accessibility & contrast
On white
2.21
#B3B271 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.52
#B3B271 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3B271
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3B271 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3B271 | 1.00 | 2.21 | 9.52 | 9.52 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCAD6C
Deuteranopia (green-blind)
#BDB074
Tritanopia (blue-blind)
#BCAAA2
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #b3b271; /* rgb */ color: rgb(179, 178, 113); /* oklch */ color: oklch(74.9% 0.086 107.5);
Tailwind
colors: {
custom: {
50: '#cbc89a',
500: '#b3b271',
950: '#000000',
},
}SCSS
$custom: #b3b271; $custom-light: #cbc89a; $custom-dark: #000000;
JSON
{
"hex": "#b3b271",
"rgb": {
"r": 179,
"g": 178,
"b": 113
},
"hsl": {
"h": 59.091,
"s": 30.275,
"l": 57.255
},
"oklch": {
"l": 0.74918,
"c": 0.08589,
"h": 107.5
},
"luminance": 0.42617
}Semantic roles & 50–950 ramp
primary
#B3B271
secondary
#B3B3CD
accent
#63C761
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#13130E
muted
#82827E