#B3A442#B3A442
#B3A442 is a light, moderate yellow. Relative luminance 0.365; OKLCH L 71.3% C 0.119 H 100.6°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #B3A442 |
|---|---|
| RGB | rgb(179, 164, 66) |
| HSL | hsl(52, 46%, 48%) |
| HSV | hsv(52, 63%, 70%) |
| CMYK | cmyk(0%, 8.4%, 63.1%, 29.8%) |
| CIE-LAB | lab(66.92, -6.53, 51.33) |
| CIE-LCH | lch(66.92, 51.75, 97.25°) |
| OKLab | oklab(71.26% -0.022 0.1172) |
| OKLCH | oklch(71.26% 0.119 100.6) |
| XYZ | xyz(32.8505, 36.5293, 10.4737) |
| Luminance | 0.3653 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 5.92
Vomit
#A2A415
ΔE00 5.97
Khaki (survey)
#AAA662
ΔE00 6.01
Puke
#A5A502
ΔE00 6.07
Brown Yellow
#B29705
ΔE00 6.14
Darkkhaki
#BDB76B
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3A442 #4251B3
analogous
#B36B42 #B3A442 #89B342
triadic
#B3A442 #42B3A4 #A442B3
tetradic
#B3A442 #42B36B #4251B3 #B34289
square
#B3A442 #42B36B #4251B3 #B34289
split-complementary
#B3A442 #4289B3 #6B42B3
monochromatic
#5A5221 #867B32 #B3A442 #C8BC6A #D9D097
Accessibility & contrast
On white
2.53
#B3A442 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.31
#B3A442 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3A442
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3A442 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3A442 | 1.00 | 2.53 | 8.31 | 8.31 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39F37
Deuteranopia (green-blind)
#B7A547
Tritanopia (blue-blind)
#C0998F
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b3a442; /* rgb */ color: rgb(179, 164, 66); /* oklch */ color: oklch(71.3% 0.119 100.6);
Tailwind
colors: {
custom: {
50: '#cdbe7b',
500: '#b3a442',
950: '#000000',
},
}SCSS
$custom: #b3a442; $custom-light: #cdbe7b; $custom-dark: #000000;
JSON
{
"hex": "#b3a442",
"rgb": {
"r": 179,
"g": 164,
"b": 66
},
"hsl": {
"h": 52.035,
"s": 46.122,
"l": 48.039
},
"oklch": {
"l": 0.71262,
"c": 0.1192,
"h": 100.6
},
"luminance": 0.36528
}Semantic roles & 50–950 ramp
primary
#B3A442
secondary
#8C94C4
accent
#64D652
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C