#B3A51E#B3A51E
#B3A51E is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.2% C 0.142 H 102.9°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #B3A51E |
|---|---|
| RGB | rgb(179, 165, 30) |
| HSL | hsl(54, 71%, 41%) |
| HSV | hsv(54, 83%, 70%) |
| CMYK | cmyk(0%, 7.8%, 83.2%, 29.8%) |
| CIE-LAB | lab(66.97, -8.77, 64.52) |
| CIE-LCH | lch(66.97, 65.12, 97.74°) |
| OKLab | oklab(71.23% -0.0319 0.1387) |
| OKLCH | oklch(71.23% 0.142 102.9) |
| XYZ | xyz(32.2814, 36.5892, 6.5901) |
| Luminance | 0.3659 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.11
Puke
#A5A502
ΔE00 3.81
Vomit
#A2A415
ΔE00 4.40
Brownish Yellow
#C9B003
ΔE00 5.11
Brown Yellow
#B29705
ΔE00 5.18
Olive Yellow
#C2B709
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3A51E #1E2CB3
analogous
#B35A1E #B3A51E #76B31E
triadic
#B3A51E #1EB3A5 #A51EB3
tetradic
#B3A51E #1EB35A #1E2CB3 #B31E76
square
#B3A51E #1EB35A #1E2CB3 #B31E76
split-complementary
#B3A51E #1E76B3 #5A1EB3
monochromatic
#4A440C #7F7515 #B3A51E #DDCD32 #E5D966
Accessibility & contrast
On white
2.52
#B3A51E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.32
#B3A51E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3A51E
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3A51E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3A51E | 1.00 | 2.52 | 8.32 | 8.32 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B9A62A
Tritanopia (blue-blind)
#C1998D
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b3a51e; /* rgb */ color: rgb(179, 165, 30); /* oklch */ color: oklch(71.2% 0.142 102.9);
Tailwind
colors: {
custom: {
50: '#cebf69',
500: '#b3a51e',
950: '#000000',
},
}SCSS
$custom: #b3a51e; $custom-light: #cebf69; $custom-dark: #000000;
JSON
{
"hex": "#b3a51e",
"rgb": {
"r": 179,
"g": 165,
"b": 30
},
"hsl": {
"h": 54.362,
"s": 71.292,
"l": 40.98
},
"oklch": {
"l": 0.71225,
"c": 0.14231,
"h": 102.9
},
"luminance": 0.36588
}Semantic roles & 50–950 ramp
primary
#B3A51E
secondary
#626CCB
accent
#4BEE3A
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141207
muted
#83817A