#B3A540#B3A540
#B3A540 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.5% C 0.122 H 101.4°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #B3A540 |
|---|---|
| RGB | rgb(179, 165, 64) |
| HSL | hsl(53, 47%, 48%) |
| HSV | hsv(53, 64%, 70%) |
| CMYK | cmyk(0%, 7.8%, 64.2%, 29.8%) |
| CIE-LAB | lab(67.18, -7.19, 52.49) |
| CIE-LCH | lch(67.18, 52.98, 97.80°) |
| OKLab | oklab(71.46% -0.0241 0.1193) |
| OKLCH | oklch(71.46% 0.122 101.4) |
| XYZ | xyz(32.9723, 36.8655, 10.2284) |
| Luminance | 0.3686 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 5.55
Muddy Yellow
#BFAC05
ΔE00 5.57
Puke
#A5A502
ΔE00 5.63
Khaki (survey)
#AAA662
ΔE00 6.18
Brown Yellow
#B29705
ΔE00 6.25
Darkkhaki
#BDB76B
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3A540 #404EB3
analogous
#B36C40 #B3A540 #87B340
triadic
#B3A540 #40B3A5 #A540B3
tetradic
#B3A540 #40B36C #404EB3 #B34087
square
#B3A540 #40B36C #404EB3 #B34087
split-complementary
#B3A540 #4087B3 #6C40B3
monochromatic
#595220 #867B30 #B3A540 #C9BD67 #D9D194
Accessibility & contrast
On white
2.51
#B3A540 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.37
#B3A540 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3A540
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3A540 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3A540 | 1.00 | 2.51 | 8.37 | 8.37 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A034
Deuteranopia (green-blind)
#B8A646
Tritanopia (blue-blind)
#C09A90
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b3a540; /* rgb */ color: rgb(179, 165, 64); /* oklch */ color: oklch(71.5% 0.122 101.4);
Tailwind
colors: {
custom: {
50: '#cdbf7a',
500: '#b3a540',
950: '#000000',
},
}SCSS
$custom: #b3a540; $custom-light: #cdbf7a; $custom-dark: #000000;
JSON
{
"hex": "#b3a540",
"rgb": {
"r": 179,
"g": 165,
"b": 64
},
"hsl": {
"h": 52.696,
"s": 47.325,
"l": 47.647
},
"oklch": {
"l": 0.71457,
"c": 0.12173,
"h": 101.4
},
"luminance": 0.36864
}Semantic roles & 50–950 ramp
primary
#B3A540
secondary
#8A91C4
accent
#61D751
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141209
muted
#82817B