#B3A52A#B3A52A
#B3A52A is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.3% C 0.137 H 102.6°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #B3A52A |
|---|---|
| RGB | rgb(179, 165, 42) |
| HSL | hsl(54, 62%, 43%) |
| HSV | hsv(54, 77%, 70%) |
| CMYK | cmyk(0%, 7.8%, 76.5%, 29.8%) |
| CIE-LAB | lab(67.02, -8.35, 60.95) |
| CIE-LCH | lch(67.02, 61.52, 97.80°) |
| OKLab | oklab(71.29% -0.0297 0.1333) |
| OKLCH | oklch(71.29% 0.137 102.6) |
| XYZ | xyz(32.4650, 36.6626, 7.5566) |
| Luminance | 0.3666 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.68
Puke
#A5A502
ΔE00 4.12
Vomit
#A2A415
ΔE00 4.48
Brown Yellow
#B29705
ΔE00 5.31
Brownish Yellow
#C9B003
ΔE00 5.53
Olive Yellow
#C2B709
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3A52A #2A38B3
analogous
#B3612A #B3A52A #7CB32A
triadic
#B3A52A #2AB3A5 #A52AB3
tetradic
#B3A52A #2AB361 #2A38B3 #B32A7C
square
#B3A52A #2AB361 #2A38B3 #B32A7C
split-complementary
#B3A52A #2A7CB3 #612AB3
monochromatic
#504A13 #81771E #B3A52A #D4C546 #DFD578
Accessibility & contrast
On white
2.52
#B3A52A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.33
#B3A52A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3A52A
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3A52A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3A52A | 1.00 | 2.52 | 8.33 | 8.33 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A00E
Deuteranopia (green-blind)
#B9A633
Tritanopia (blue-blind)
#C1998E
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b3a52a; /* rgb */ color: rgb(179, 165, 42); /* oklch */ color: oklch(71.3% 0.137 102.6);
Tailwind
colors: {
custom: {
50: '#cebf6e',
500: '#b3a52a',
950: '#000000',
},
}SCSS
$custom: #b3a52a; $custom-light: #cebf6e; $custom-dark: #000000;
JSON
{
"hex": "#b3a52a",
"rgb": {
"r": 179,
"g": 165,
"b": 42
},
"hsl": {
"h": 53.869,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.71287,
"c": 0.13661,
"h": 102.6
},
"luminance": 0.36661
}Semantic roles & 50–950 ramp
primary
#B3A52A
secondary
#727AC7
accent
#53E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B