#B3A342#B3A342
#B3A342 is a light, moderate yellow. Relative luminance 0.362; OKLCH L 71.0% C 0.118 H 100.0°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #B3A342 |
|---|---|
| RGB | rgb(179, 163, 66) |
| HSL | hsl(52, 46%, 48%) |
| HSV | hsv(52, 63%, 70%) |
| CMYK | cmyk(0%, 8.9%, 63.1%, 29.8%) |
| CIE-LAB | lab(66.65, -6.00, 51.04) |
| CIE-LCH | lch(66.65, 51.39, 96.71°) |
| OKLab | oklab(71.05% -0.0204 0.1165) |
| OKLCH | oklch(71.05% 0.118 100) |
| XYZ | xyz(32.6723, 36.1728, 10.4143) |
| Luminance | 0.3617 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 5.90
Muddy Yellow
#BFAC05
ΔE00 6.06
Khaki (survey)
#AAA662
ΔE00 6.09
Vomit
#A2A415
ΔE00 6.23
Puke
#A5A502
ΔE00 6.32
Dark Gold
#B59410
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3A342 #4252B3
analogous
#B36A42 #B3A342 #8BB342
triadic
#B3A342 #42B3A3 #A342B3
tetradic
#B3A342 #42B36A #4252B3 #B3428B
square
#B3A342 #42B36A #4252B3 #B3428B
split-complementary
#B3A342 #428BB3 #6A42B3
monochromatic
#5A5221 #867A32 #B3A342 #C8BB6A #D9CF97
Accessibility & contrast
On white
2.55
#B3A342 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.23
#B3A342 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3A342
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3A342 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3A342 | 1.00 | 2.55 | 8.23 | 8.23 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29F37
Deuteranopia (green-blind)
#B6A547
Tritanopia (blue-blind)
#C0988E
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b3a342; /* rgb */ color: rgb(179, 163, 66); /* oklch */ color: oklch(71.0% 0.118 100.0);
Tailwind
colors: {
custom: {
50: '#cdbe7b',
500: '#b3a342',
950: '#000000',
},
}SCSS
$custom: #b3a342; $custom-light: #cdbe7b; $custom-dark: #000000;
JSON
{
"hex": "#b3a342",
"rgb": {
"r": 179,
"g": 163,
"b": 66
},
"hsl": {
"h": 51.504,
"s": 46.122,
"l": 48.039
},
"oklch": {
"l": 0.71047,
"c": 0.11832,
"h": 100
},
"luminance": 0.36171
}Semantic roles & 50–950 ramp
primary
#B3A342
secondary
#8C94C4
accent
#65D652
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141209
muted
#82817B