#B3A762#B3A762
#B3A762 is a light, moderate yellow. Relative luminance 0.381; OKLCH L 72.3% C 0.091 H 99.6°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #B3A762 |
|---|---|
| RGB | rgb(179, 167, 98) |
| HSL | hsl(51, 35%, 54%) |
| HSV | hsv(51, 45%, 70%) |
| CMYK | cmyk(0%, 6.7%, 45.3%, 29.8%) |
| CIE-LAB | lab(68.10, -5.43, 37.12) |
| CIE-LCH | lch(68.10, 37.52, 98.32°) |
| OKLab | oklab(72.31% -0.0152 0.0896) |
| OKLCH | oklch(72.31% 0.091 99.6) |
| XYZ | xyz(34.6146, 38.1041, 17.0844) |
| Luminance | 0.3810 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.62
Darkkhaki
#BDB76B
ΔE00 4.66
Sand
#C2B280
ΔE00 5.76
Sandy Brown
#C4A661
ΔE00 5.80
Sandstone
#C9AE74
ΔE00 6.43
Desert
#CCAD60
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3A762 #626EB3
analogous
#B37F62 #B3A762 #97B362
triadic
#B3A762 #62B3A7 #A762B3
tetradic
#B3A762 #62B37F #626EB3 #B36297
square
#B3A762 #62B37F #626EB3 #B36297
split-complementary
#B3A762 #6297B3 #7F62B3
monochromatic
#686032 #918646 #B3A762 #C7BE8B #DBD5B4
Accessibility & contrast
On white
2.44
#B3A762 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.62
#B3A762 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3A762
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3A762 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3A762 | 1.00 | 2.44 | 8.62 | 8.62 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A35C
Deuteranopia (green-blind)
#B6A865
Tritanopia (blue-blind)
#BE9E96
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #b3a762; /* rgb */ color: rgb(179, 167, 98); /* oklch */ color: oklch(72.3% 0.091 99.6);
Tailwind
colors: {
custom: {
50: '#cbc190',
500: '#b3a762',
950: '#000000',
},
}SCSS
$custom: #b3a762; $custom-light: #cbc190; $custom-dark: #000000;
JSON
{
"hex": "#b3a762",
"rgb": {
"r": 179,
"g": 167,
"b": 98
},
"hsl": {
"h": 51.111,
"s": 34.764,
"l": 54.314
},
"oklch": {
"l": 0.72311,
"c": 0.09086,
"h": 99.6
},
"luminance": 0.38103
}Semantic roles & 50–950 ramp
primary
#B3A762
secondary
#A7ACCA
accent
#6DCB5D
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#13120C
muted
#82817D