#B3A42A#B3A42A
#B3A42A is a light, vivid yellow. Relative luminance 0.363; OKLCH L 71.1% C 0.136 H 102.0°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #B3A42A |
|---|---|
| RGB | rgb(179, 164, 42) |
| HSL | hsl(53, 62%, 43%) |
| HSV | hsv(53, 77%, 70%) |
| CMYK | cmyk(0%, 8.4%, 76.5%, 29.8%) |
| CIE-LAB | lab(66.75, -7.82, 60.70) |
| CIE-LCH | lch(66.75, 61.20, 97.34°) |
| OKLab | oklab(71.07% -0.0282 0.1328) |
| OKLCH | oklch(71.07% 0.136 102) |
| XYZ | xyz(32.2853, 36.3032, 7.4967) |
| Luminance | 0.3630 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.79
Puke
#A5A502
ΔE00 4.36
Vomit
#A2A415
ΔE00 4.72
Brown Yellow
#B29705
ΔE00 4.97
Brownish Yellow
#C9B003
ΔE00 5.59
Olive Yellow
#C2B709
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3A42A #2A39B3
analogous
#B3602A #B3A42A #7DB32A
triadic
#B3A42A #2AB3A4 #A42AB3
tetradic
#B3A42A #2AB360 #2A39B3 #B32A7D
square
#B3A42A #2AB360 #2A39B3 #B32A7D
split-complementary
#B3A42A #2A7DB3 #602AB3
monochromatic
#504913 #81771E #B3A42A #D4C446 #DFD478
Accessibility & contrast
On white
2.54
#B3A42A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.26
#B3A42A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3A42A
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3A42A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3A42A | 1.00 | 2.54 | 8.26 | 8.26 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F0F
Deuteranopia (green-blind)
#B8A533
Tritanopia (blue-blind)
#C1988D
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b3a42a; /* rgb */ color: rgb(179, 164, 42); /* oklch */ color: oklch(71.1% 0.136 102.0);
Tailwind
colors: {
custom: {
50: '#cebe6e',
500: '#b3a42a',
950: '#000000',
},
}SCSS
$custom: #b3a42a; $custom-light: #cebe6e; $custom-dark: #000000;
JSON
{
"hex": "#b3a42a",
"rgb": {
"r": 179,
"g": 164,
"b": 42
},
"hsl": {
"h": 53.431,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.71071,
"c": 0.13576,
"h": 102
},
"luminance": 0.36302
}Semantic roles & 50–950 ramp
primary
#B3A42A
secondary
#727BC7
accent
#55E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B