#B7B062#B7B062
#B7B062 is a light, moderate yellow. Relative luminance 0.420; OKLCH L 74.6% C 0.100 H 104.0°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #B7B062 |
|---|---|
| RGB | rgb(183, 176, 98) |
| HSL | hsl(55, 37%, 55%) |
| HSV | hsv(55, 46%, 72%) |
| CMYK | cmyk(0%, 3.8%, 46.4%, 28.2%) |
| CIE-LAB | lab(70.87, -8.51, 40.63) |
| CIE-LCH | lch(70.87, 41.51, 101.83°) |
| OKLab | oklab(74.59% -0.0243 0.0974) |
| OKLCH | oklch(74.59% 0.1 104) |
| XYZ | xyz(37.2592, 42.0009, 17.6972) |
| Luminance | 0.4200 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 1.98
Khaki (survey)
#AAA662
ΔE00 3.57
Sand
#C2B280
ΔE00 6.69
Light Olive
#ACBF69
ΔE00 7.41
Desert
#CCAD60
ΔE00 7.42
Sandy Brown
#C4A661
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7B062 #6269B7
analogous
#B78662 #B7B062 #93B762
triadic
#B7B062 #62B7B0 #B062B7
tetradic
#B7B062 #62B786 #6269B7 #B76293
square
#B7B062 #62B786 #6269B7 #B76293
split-complementary
#B7B062 #6293B7 #8662B7
monochromatic
#6D6832 #979045 #B7B062 #CAC58C #DDDAB6
Accessibility & contrast
On white
2.23
#B7B062 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.40
#B7B062 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7B062
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7B062 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7B062 | 1.00 | 2.23 | 9.40 | 9.40 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCAB5B
Deuteranopia (green-blind)
#BFAF65
Tritanopia (blue-blind)
#C2A79D
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #b7b062; /* rgb */ color: rgb(183, 176, 98); /* oklch */ color: oklch(74.6% 0.100 104.0);
Tailwind
colors: {
custom: {
50: '#cec790',
500: '#b7b062',
950: '#000000',
},
}SCSS
$custom: #b7b062; $custom-light: #cec790; $custom-dark: #000000;
JSON
{
"hex": "#b7b062",
"rgb": {
"r": 183,
"g": 176,
"b": 98
},
"hsl": {
"h": 55.059,
"s": 37.118,
"l": 55.098
},
"oklch": {
"l": 0.74594,
"c": 0.10035,
"h": 104
},
"luminance": 0.42
}Semantic roles & 50–950 ramp
primary
#B7B062
secondary
#A9ACCC
accent
#64CD5B
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130D
muted
#82827D