#B3A72A#B3A72A
#B3A72A is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.7% C 0.138 H 103.7°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #B3A72A |
|---|---|
| RGB | rgb(179, 167, 42) |
| HSL | hsl(55, 62%, 43%) |
| HSV | hsv(55, 77%, 70%) |
| CMYK | cmyk(0%, 6.7%, 76.5%, 29.8%) |
| CIE-LAB | lab(67.57, -9.40, 61.46) |
| CIE-LCH | lch(67.57, 62.17, 98.69°) |
| OKLab | oklab(71.72% -0.0326 0.1344) |
| OKLCH | oklch(71.72% 0.138 103.7) |
| XYZ | xyz(32.8285, 37.3897, 7.6777) |
| Luminance | 0.3739 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.58
Puke
#A5A502
ΔE00 3.70
Vomit
#A2A415
ΔE00 4.10
Olive Yellow
#C2B709
ΔE00 5.28
Brownish Yellow
#C9B003
ΔE00 5.49
Brown Yellow
#B29705
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3A72A #2A36B3
analogous
#B3632A #B3A72A #7AB32A
triadic
#B3A72A #2AB3A7 #A72AB3
tetradic
#B3A72A #2AB363 #2A36B3 #B32A7A
square
#B3A72A #2AB363 #2A36B3 #B32A7A
split-complementary
#B3A72A #2A7AB3 #632AB3
monochromatic
#504B13 #81791E #B3A72A #D4C746 #DFD678
Accessibility & contrast
On white
2.48
#B3A72A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.48
#B3A72A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3A72A
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3A72A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3A72A | 1.00 | 2.48 | 8.48 | 8.48 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A10D
Deuteranopia (green-blind)
#BAA733
Tritanopia (blue-blind)
#C19B8F
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b3a72a; /* rgb */ color: rgb(179, 167, 42); /* oklch */ color: oklch(71.7% 0.138 103.7);
Tailwind
colors: {
custom: {
50: '#cec06e',
500: '#b3a72a',
950: '#000000',
},
}SCSS
$custom: #b3a72a; $custom-light: #cec06e; $custom-dark: #000000;
JSON
{
"hex": "#b3a72a",
"rgb": {
"r": 179,
"g": 167,
"b": 42
},
"hsl": {
"h": 54.745,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.71721,
"c": 0.13832,
"h": 103.7
},
"luminance": 0.37388
}Semantic roles & 50–950 ramp
primary
#B3A72A
secondary
#7279C7
accent
#51E543
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B