#B7AA2B#B7AA2B
#B7AA2B is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.7% C 0.140 H 103.3°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #B7AA2B |
|---|---|
| RGB | rgb(183, 170, 43) |
| HSL | hsl(54, 62%, 44%) |
| HSV | hsv(54, 77%, 72%) |
| CMYK | cmyk(0%, 7.1%, 76.5%, 28.2%) |
| CIE-LAB | lab(68.75, -9.17, 62.34) |
| CIE-LCH | lch(68.75, 63.01, 98.36°) |
| OKLab | oklab(72.74% -0.0321 0.1363) |
| OKLCH | oklch(72.74% 0.14 103.3) |
| XYZ | xyz(34.3408, 38.9926, 8.0025) |
| Luminance | 0.3899 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 2.92
Puke
#A5A502
ΔE00 4.24
Olive Yellow
#C2B709
ΔE00 4.44
Brownish Yellow
#C9B003
ΔE00 4.71
Vomit
#A2A415
ΔE00 4.74
Mustard (survey)
#CEB301
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7AA2B #2B38B7
analogous
#B7642B #B7AA2B #7EB72B
triadic
#B7AA2B #2BB7AA #AA2BB7
tetradic
#B7AA2B #2BB764 #2B38B7 #B72B7E
square
#B7AA2B #2BB764 #2B38B7 #B72B7E
split-complementary
#B7AA2B #2B7EB7 #642BB7
monochromatic
#544E14 #857C1F #B7AA2B #D5C84B #E0D77C
Accessibility & contrast
On white
2.39
#B7AA2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.80
#B7AA2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7AA2B
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7AA2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7AA2B | 1.00 | 2.39 | 8.80 | 8.80 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA40E
Deuteranopia (green-blind)
#BEAA35
Tritanopia (blue-blind)
#C59E92
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b7aa2b; /* rgb */ color: rgb(183, 170, 43); /* oklch */ color: oklch(72.7% 0.140 103.3);
Tailwind
colors: {
custom: {
50: '#d0c26f',
500: '#b7aa2b',
950: '#000000',
},
}SCSS
$custom: #b7aa2b; $custom-light: #d0c26f; $custom-dark: #000000;
JSON
{
"hex": "#b7aa2b",
"rgb": {
"r": 183,
"g": 170,
"b": 43
},
"hsl": {
"h": 54.429,
"s": 61.947,
"l": 44.314
},
"oklch": {
"l": 0.72744,
"c": 0.14004,
"h": 103.3
},
"luminance": 0.38991
}Semantic roles & 50–950 ramp
primary
#B7AA2B
secondary
#757DC9
accent
#52E543
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B