#B3A02A#B3A02A
#B3A02A is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.2% C 0.133 H 99.7°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #B3A02A |
|---|---|
| RGB | rgb(179, 160, 42) |
| HSL | hsl(52, 62%, 43%) |
| HSV | hsv(52, 77%, 70%) |
| CMYK | cmyk(0%, 10.6%, 76.5%, 29.8%) |
| CIE-LAB | lab(65.67, -5.70, 59.70) |
| CIE-LCH | lch(65.67, 59.97, 95.45°) |
| OKLab | oklab(70.21% -0.0222 0.1307) |
| OKLCH | oklch(70.21% 0.133 99.7) |
| XYZ | xyz(31.5807, 34.8940, 7.2618) |
| Luminance | 0.3489 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.63
Muddy Yellow
#BFAC05
ΔE00 4.55
Ocher
#BF9B0C
ΔE00 5.08
Dark Gold
#B59410
ΔE00 5.11
Baby Poo
#AB9004
ΔE00 5.28
Baby Shit Brown
#AD900D
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3A02A #2A3DB3
analogous
#B35B2A #B3A02A #81B32A
triadic
#B3A02A #2AB3A0 #A02AB3
tetradic
#B3A02A #2AB35B #2A3DB3 #B32A81
square
#B3A02A #2AB35B #2A3DB3 #B32A81
split-complementary
#B3A02A #2A81B3 #5B2AB3
monochromatic
#504713 #81741E #B3A02A #D4C046 #DFD178
Accessibility & contrast
On white
2.63
#B3A02A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.98
#B3A02A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3A02A
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3A02A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3A02A | 1.00 | 2.63 | 7.98 | 7.98 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C11
Deuteranopia (green-blind)
#B5A232
Tritanopia (blue-blind)
#C1948A
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #b3a02a; /* rgb */ color: rgb(179, 160, 42); /* oklch */ color: oklch(70.2% 0.133 99.7);
Tailwind
colors: {
custom: {
50: '#cebb6d',
500: '#b3a02a',
950: '#000000',
},
}SCSS
$custom: #b3a02a; $custom-light: #cebb6d; $custom-dark: #000000;
JSON
{
"hex": "#b3a02a",
"rgb": {
"r": 179,
"g": 160,
"b": 42
},
"hsl": {
"h": 51.679,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.7021,
"c": 0.13254,
"h": 99.7
},
"luminance": 0.34892
}Semantic roles & 50–950 ramp
primary
#B3A02A
secondary
#727DC7
accent
#59E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B