#B3A02B#B3A02B
#B3A02B is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.2% C 0.132 H 99.6°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #B3A02B |
|---|---|
| RGB | rgb(179, 160, 43) |
| HSL | hsl(52, 61%, 44%) |
| HSV | hsv(52, 76%, 70%) |
| CMYK | cmyk(0%, 10.6%, 76%, 29.8%) |
| CIE-LAB | lab(65.67, -5.66, 59.35) |
| CIE-LCH | lch(65.67, 59.62, 95.45°) |
| OKLab | oklab(70.22% -0.022 0.1301) |
| OKLCH | oklch(70.22% 0.132 99.6) |
| XYZ | xyz(31.5988, 34.9013, 7.3572) |
| Luminance | 0.3490 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.67
Muddy Yellow
#BFAC05
ΔE00 4.61
Ocher
#BF9B0C
ΔE00 5.10
Dark Gold
#B59410
ΔE00 5.12
Baby Poo
#AB9004
ΔE00 5.30
Baby Shit Brown
#AD900D
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3A02B #2B3EB3
analogous
#B35C2B #B3A02B #82B32B
triadic
#B3A02B #2BB3A0 #A02BB3
tetradic
#B3A02B #2BB35C #2B3EB3 #B32B82
square
#B3A02B #2BB35C #2B3EB3 #B32B82
split-complementary
#B3A02B #2B82B3 #5C2BB3
monochromatic
#504813 #82741F #B3A02B #D3C048 #DFD179
Accessibility & contrast
On white
2.63
#B3A02B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.98
#B3A02B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3A02B
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3A02B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3A02B | 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)
#B09C13
Deuteranopia (green-blind)
#B5A333
Tritanopia (blue-blind)
#C1948A
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #b3a02b; /* rgb */ color: rgb(179, 160, 43); /* oklch */ color: oklch(70.2% 0.132 99.6);
Tailwind
colors: {
custom: {
50: '#cebb6e',
500: '#b3a02b',
950: '#000000',
},
}SCSS
$custom: #b3a02b; $custom-light: #cebb6e; $custom-dark: #000000;
JSON
{
"hex": "#b3a02b",
"rgb": {
"r": 179,
"g": 160,
"b": 43
},
"hsl": {
"h": 51.618,
"s": 61.261,
"l": 43.529
},
"oklch": {
"l": 0.70216,
"c": 0.13197,
"h": 99.6
},
"luminance": 0.349
}Semantic roles & 50–950 ramp
primary
#B3A02B
secondary
#737FC7
accent
#5AE443
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B