#B7AB2B#B7AB2B
#B7AB2B is a light, vivid yellow. Relative luminance 0.394; OKLCH L 73.0% C 0.141 H 103.8°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #B7AB2B |
|---|---|
| RGB | rgb(183, 171, 43) |
| HSL | hsl(55, 62%, 44%) |
| HSV | hsv(55, 77%, 72%) |
| CMYK | cmyk(0%, 6.6%, 76.5%, 28.2%) |
| CIE-LAB | lab(69.02, -9.69, 62.59) |
| CIE-LCH | lch(69.02, 63.33, 98.80°) |
| OKLab | oklab(72.96% -0.0336 0.1369) |
| OKLCH | oklch(72.96% 0.141 103.8) |
| XYZ | xyz(34.5289, 39.3690, 8.0652) |
| Luminance | 0.3937 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 2.98
Puke
#A5A502
ΔE00 4.14
Olive Yellow
#C2B709
ΔE00 4.19
Vomit
#A2A415
ΔE00 4.64
Brownish Yellow
#C9B003
ΔE00 4.77
Mustard (survey)
#CEB301
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7AB2B #2B37B7
analogous
#B7652B #B7AB2B #7DB72B
triadic
#B7AB2B #2BB7AB #AB2BB7
tetradic
#B7AB2B #2BB765 #2B37B7 #B72B7D
square
#B7AB2B #2BB765 #2B37B7 #B72B7D
split-complementary
#B7AB2B #2B7DB7 #652BB7
monochromatic
#544E14 #857D1F #B7AB2B #D5C94B #E0D87C
Accessibility & contrast
On white
2.37
#B7AB2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.87
#B7AB2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7AB2B
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7AB2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7AB2B | 1.00 | 2.37 | 8.87 | 8.87 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA50D
Deuteranopia (green-blind)
#BFAB35
Tritanopia (blue-blind)
#C59F93
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b7ab2b; /* rgb */ color: rgb(183, 171, 43); /* oklch */ color: oklch(73.0% 0.141 103.8);
Tailwind
colors: {
custom: {
50: '#d0c36f',
500: '#b7ab2b',
950: '#000000',
},
}SCSS
$custom: #b7ab2b; $custom-light: #d0c36f; $custom-dark: #000000;
JSON
{
"hex": "#b7ab2b",
"rgb": {
"r": 183,
"g": 171,
"b": 43
},
"hsl": {
"h": 54.857,
"s": 61.947,
"l": 44.314
},
"oklch": {
"l": 0.7296,
"c": 0.14091,
"h": 103.8
},
"luminance": 0.39368
}Semantic roles & 50–950 ramp
primary
#B7AB2B
secondary
#757CC9
accent
#51E543
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B