#B3A242#B3A242
#B3A242 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.8% C 0.117 H 99.3°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B3A242 |
|---|---|
| RGB | rgb(179, 162, 66) |
| HSL | hsl(51, 46%, 48%) |
| HSV | hsv(51, 63%, 70%) |
| CMYK | cmyk(0%, 9.5%, 63.1%, 29.8%) |
| CIE-LAB | lab(66.38, -5.47, 50.75) |
| CIE-LCH | lch(66.38, 51.04, 96.15°) |
| OKLab | oklab(70.83% -0.0189 0.1159) |
| OKLCH | oklch(70.83% 0.117 99.3) |
| XYZ | xyz(32.4954, 35.8191, 10.3553) |
| Luminance | 0.3582 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 5.69
Khaki (survey)
#AAA662
ΔE00 6.19
Muddy Yellow
#BFAC05
ΔE00 6.24
Vomit
#A2A415
ΔE00 6.52
Puke
#A5A502
ΔE00 6.60
Dark Gold
#B59410
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3A242 #4253B3
analogous
#B36942 #B3A242 #8CB342
triadic
#B3A242 #42B3A2 #A242B3
tetradic
#B3A242 #42B369 #4253B3 #B3428C
square
#B3A242 #42B369 #4253B3 #B3428C
split-complementary
#B3A242 #428CB3 #6942B3
monochromatic
#5A5121 #867A32 #B3A242 #C8BA6A #D9CF97
Accessibility & contrast
On white
2.57
#B3A242 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.16
#B3A242 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3A242
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3A242 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3A242 | 1.00 | 2.57 | 8.16 | 8.16 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19E37
Deuteranopia (green-blind)
#B5A447
Tritanopia (blue-blind)
#C0978E
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #b3a242; /* rgb */ color: rgb(179, 162, 66); /* oklch */ color: oklch(70.8% 0.117 99.3);
Tailwind
colors: {
custom: {
50: '#cdbd7b',
500: '#b3a242',
950: '#000000',
},
}SCSS
$custom: #b3a242; $custom-light: #cdbd7b; $custom-dark: #000000;
JSON
{
"hex": "#b3a242",
"rgb": {
"r": 179,
"g": 162,
"b": 66
},
"hsl": {
"h": 50.973,
"s": 46.122,
"l": 48.039
},
"oklch": {
"l": 0.70833,
"c": 0.11746,
"h": 99.3
},
"luminance": 0.35818
}Semantic roles & 50–950 ramp
primary
#B3A242
secondary
#8C95C4
accent
#66D652
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141209
muted
#82817B