#B3AA2B#B3AA2B
#B3AA2B is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.4% C 0.140 H 105.2°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #B3AA2B |
|---|---|
| RGB | rgb(179, 170, 43) |
| HSL | hsl(56, 61%, 44%) |
| HSV | hsv(56, 76%, 70%) |
| CMYK | cmyk(0%, 5%, 76%, 29.8%) |
| CIE-LAB | lab(68.39, -10.92, 61.88) |
| CIE-LCH | lch(68.39, 62.84, 100.01°) |
| OKLab | oklab(72.38% -0.0368 0.1355) |
| OKLCH | oklch(72.38% 0.14 105.2) |
| XYZ | xyz(33.4026, 38.5089, 7.9585) |
| Luminance | 0.3851 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.37
Vomit
#A2A415
ΔE00 3.76
Muddy Yellow
#BFAC05
ΔE00 3.77
Olive Yellow
#C2B709
ΔE00 4.68
Brownish Yellow
#C9B003
ΔE00 5.66
Mustard Green
#A8B504
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3AA2B #2B34B3
analogous
#B3662B #B3AA2B #78B32B
triadic
#B3AA2B #2BB3AA #AA2BB3
tetradic
#B3AA2B #2BB366 #2B34B3 #B32B78
square
#B3AA2B #2BB366 #2B34B3 #B32B78
split-complementary
#B3AA2B #2B78B3 #662BB3
monochromatic
#504C13 #827B1F #B3AA2B #D3CA48 #DFD879
Accessibility & contrast
On white
2.41
#B3AA2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.70
#B3AA2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3AA2B
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3AA2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3AA2B | 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)
#B9A40E
Deuteranopia (green-blind)
#BDA935
Tritanopia (blue-blind)
#C19E92
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b3aa2b; /* rgb */ color: rgb(179, 170, 43); /* oklch */ color: oklch(72.4% 0.140 105.2);
Tailwind
colors: {
custom: {
50: '#cec36f',
500: '#b3aa2b',
950: '#000000',
},
}SCSS
$custom: #b3aa2b; $custom-light: #cec36f; $custom-dark: #000000;
JSON
{
"hex": "#b3aa2b",
"rgb": {
"r": 179,
"g": 170,
"b": 43
},
"hsl": {
"h": 56.029,
"s": 61.261,
"l": 43.529
},
"oklch": {
"l": 0.7238,
"c": 0.14043,
"h": 105.2
},
"luminance": 0.38508
}Semantic roles & 50–950 ramp
primary
#B3AA2B
secondary
#7378C7
accent
#4EE443
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B