#B3AA2A#B3AA2A
#B3AA2A is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.4% C 0.141 H 105.2°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #B3AA2A |
|---|---|
| RGB | rgb(179, 170, 42) |
| HSL | hsl(56, 62%, 43%) |
| HSV | hsv(56, 77%, 70%) |
| CMYK | cmyk(0%, 5%, 76.5%, 29.8%) |
| CIE-LAB | lab(68.39, -10.96, 62.21) |
| CIE-LCH | lch(68.39, 63.17, 99.99°) |
| OKLab | oklab(72.37% -0.037 0.136) |
| OKLCH | oklch(72.37% 0.141 105.2) |
| XYZ | xyz(33.3845, 38.5016, 7.8631) |
| Luminance | 0.3850 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.33
Muddy Yellow
#BFAC05
ΔE00 3.71
Vomit
#A2A415
ΔE00 3.75
Olive Yellow
#C2B709
ΔE00 4.63
Brownish Yellow
#C9B003
ΔE00 5.61
Mustard Green
#A8B504
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3AA2A #2A33B3
analogous
#B3652A #B3AA2A #77B32A
triadic
#B3AA2A #2AB3AA #AA2AB3
tetradic
#B3AA2A #2AB365 #2A33B3 #B32A77
square
#B3AA2A #2AB365 #2A33B3 #B32A77
split-complementary
#B3AA2A #2A77B3 #652AB3
monochromatic
#504C13 #817B1E #B3AA2A #D4CA46 #DFD978
Accessibility & contrast
On white
2.41
#B3AA2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.70
#B3AA2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3AA2A
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3AA2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3AA2A | 1.00 | 2.41 | 8.70 | 8.70 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A40B
Deuteranopia (green-blind)
#BDA934
Tritanopia (blue-blind)
#C19E92
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b3aa2a; /* rgb */ color: rgb(179, 170, 42); /* oklch */ color: oklch(72.4% 0.141 105.2);
Tailwind
colors: {
custom: {
50: '#cec26e',
500: '#b3aa2a',
950: '#000000',
},
}SCSS
$custom: #b3aa2a; $custom-light: #cec26e; $custom-dark: #000000;
JSON
{
"hex": "#b3aa2a",
"rgb": {
"r": 179,
"g": 170,
"b": 42
},
"hsl": {
"h": 56.058,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.72374,
"c": 0.14098,
"h": 105.2
},
"luminance": 0.385
}Semantic roles & 50–950 ramp
primary
#B3AA2A
secondary
#7277C7
accent
#4DE543
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B