#B7A23E#B7A23E
#B7A23E is a light, vivid yellow. Relative luminance 0.363; OKLCH L 71.2% C 0.121 H 97.3°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #B7A23E |
|---|---|
| RGB | rgb(183, 162, 62) |
| HSL | hsl(50, 49%, 48%) |
| HSV | hsv(50, 66%, 72%) |
| CMYK | cmyk(0%, 11.5%, 66.1%, 28.2%) |
| CIE-LAB | lab(66.72, -3.98, 52.98) |
| CIE-LCH | lch(66.72, 53.13, 94.30°) |
| OKLab | oklab(71.17% -0.0154 0.1199) |
| OKLCH | oklch(71.17% 0.121 97.3) |
| XYZ | xyz(33.3198, 36.2573, 9.7998) |
| Luminance | 0.3626 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.92
Ocher
#BF9B0C
ΔE00 5.49
Muddy Yellow
#BFAC05
ΔE00 5.68
Dark Gold
#B59410
ΔE00 5.69
Yellow Brown
#B79400
ΔE00 6.23
Baby Shit Brown
#AD900D
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7A23E #3E53B7
analogous
#B7653E #B7A23E #8FB73E
triadic
#B7A23E #3EB7A2 #A23EB7
tetradic
#B7A23E #3EB765 #3E53B7 #B73E8F
square
#B7A23E #3EB765 #3E53B7 #B73E8F
split-complementary
#B7A23E #3E8FB7 #653EB7
monochromatic
#5C511F #897A2F #B7A23E #CBBA67 #DBCF94
Accessibility & contrast
On white
2.55
#B7A23E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.25
#B7A23E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7A23E
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7A23E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7A23E | 1.00 | 2.55 | 8.25 | 8.25 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29E32
Deuteranopia (green-blind)
#B7A543
Tritanopia (blue-blind)
#C5968D
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b7a23e; /* rgb */ color: rgb(183, 162, 62); /* oklch */ color: oklch(71.2% 0.121 97.3);
Tailwind
colors: {
custom: {
50: '#d0bd78',
500: '#b7a23e',
950: '#000000',
},
}SCSS
$custom: #b7a23e; $custom-light: #d0bd78; $custom-dark: #000000;
JSON
{
"hex": "#b7a23e",
"rgb": {
"r": 183,
"g": 162,
"b": 62
},
"hsl": {
"h": 49.587,
"s": 49.388,
"l": 48.039
},
"oklch": {
"l": 0.71174,
"c": 0.12092,
"h": 97.3
},
"luminance": 0.36256
}Semantic roles & 50–950 ramp
primary
#B7A23E
secondary
#8A95C6
accent
#67D94F
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B