#B7A02B#B7A02B
#B7A02B is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.6% C 0.132 H 97.5°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #B7A02B |
|---|---|
| RGB | rgb(183, 160, 43) |
| HSL | hsl(50, 62%, 44%) |
| HSV | hsv(50, 77%, 72%) |
| CMYK | cmyk(0%, 12.6%, 76.5%, 28.2%) |
| CIE-LAB | lab(66.05, -3.88, 59.84) |
| CIE-LCH | lch(66.05, 59.96, 93.71°) |
| OKLab | oklab(70.6% -0.0172 0.131) |
| OKLCH | oklch(70.6% 0.132 97.5) |
| XYZ | xyz(32.5370, 35.3850, 7.4012) |
| Luminance | 0.3538 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.22
Ocher
#BF9B0C
ΔE00 4.04
Dark Gold
#B59410
ΔE00 4.39
Muddy Yellow
#BFAC05
ΔE00 4.60
Yellow Brown
#B79400
ΔE00 4.81
Baby Shit Brown
#AD900D
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7A02B #2B42B7
analogous
#B75A2B #B7A02B #88B72B
triadic
#B7A02B #2BB7A0 #A02BB7
tetradic
#B7A02B #2BB75A #2B42B7 #B72B88
square
#B7A02B #2BB75A #2B42B7 #B72B88
split-complementary
#B7A02B #2B88B7 #5A2BB7
monochromatic
#544914 #85751F #B7A02B #D5BE4B #E0D07C
Accessibility & contrast
On white
2.60
#B7A02B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#B7A02B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7A02B
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7A02B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7A02B | 1.00 | 2.60 | 8.08 | 8.08 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C13
Deuteranopia (green-blind)
#B7A433
Tritanopia (blue-blind)
#C6938A
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #b7a02b; /* rgb */ color: rgb(183, 160, 43); /* oklch */ color: oklch(70.6% 0.132 97.5);
Tailwind
colors: {
custom: {
50: '#d1bb6e',
500: '#b7a02b',
950: '#000000',
},
}SCSS
$custom: #b7a02b; $custom-light: #d1bb6e; $custom-dark: #000000;
JSON
{
"hex": "#b7a02b",
"rgb": {
"r": 183,
"g": 160,
"b": 43
},
"hsl": {
"h": 50.143,
"s": 61.947,
"l": 44.314
},
"oklch": {
"l": 0.70602,
"c": 0.13211,
"h": 97.5
},
"luminance": 0.35383
}Semantic roles & 50–950 ramp
primary
#B7A02B
secondary
#7583C9
accent
#5DE543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B