#B7A633#B7A633
#B7A633 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.9% C 0.132 H 100.7°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #B7A633 |
|---|---|
| RGB | rgb(183, 166, 51) |
| HSL | hsl(52, 56%, 46%) |
| HSV | hsv(52, 72%, 72%) |
| CMYK | cmyk(0%, 9.3%, 72.1%, 28.2%) |
| CIE-LAB | lab(67.71, -6.71, 58.49) |
| CIE-LCH | lch(67.71, 58.88, 96.54°) |
| OKLab | oklab(71.94% -0.0244 0.1297) |
| OKLCH | oklch(71.94% 0.132 100.7) |
| XYZ | xyz(33.7638, 37.5803, 8.6066) |
| Luminance | 0.3758 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.78
Brownish Yellow
#C9B003
ΔE00 5.26
Puke
#A5A502
ΔE00 5.29
Brown Yellow
#B29705
ΔE00 5.30
Vomit
#A2A415
ΔE00 5.59
Olive Yellow
#C2B709
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7A633 #3344B7
analogous
#B76433 #B7A633 #86B733
triadic
#B7A633 #33B7A6 #A633B7
tetradic
#B7A633 #33B764 #3344B7 #B73386
square
#B7A633 #33B764 #3344B7 #B73386
split-complementary
#B7A633 #3386B7 #6433B7
monochromatic
#574F18 #877B26 #B7A633 #D0C157 #DED287
Accessibility & contrast
On white
2.47
#B7A633 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.52
#B7A633 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7A633
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7A633 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7A633 | 1.00 | 2.47 | 8.52 | 8.52 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A120
Deuteranopia (green-blind)
#BBA83A
Tritanopia (blue-blind)
#C59A8F
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b7a633; /* rgb */ color: rgb(183, 166, 51); /* oklch */ color: oklch(71.9% 0.132 100.7);
Tailwind
colors: {
custom: {
50: '#d0c072',
500: '#b7a633',
950: '#000000',
},
}SCSS
$custom: #b7a633; $custom-light: #d0c072; $custom-dark: #000000;
JSON
{
"hex": "#b7a633",
"rgb": {
"r": 183,
"g": 166,
"b": 51
},
"hsl": {
"h": 52.273,
"s": 56.41,
"l": 45.882
},
"oklch": {
"l": 0.71936,
"c": 0.13194,
"h": 100.7
},
"luminance": 0.37579
}Semantic roles & 50–950 ramp
primary
#B7A633
secondary
#7F88C7
accent
#5CE048
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B