#B3A22E#B3A22E
#B3A22E is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.7% C 0.132 H 100.6°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #B3A22E |
|---|---|
| RGB | rgb(179, 162, 46) |
| HSL | hsl(52, 59%, 44%) |
| HSV | hsv(52, 74%, 70%) |
| CMYK | cmyk(0%, 9.5%, 74.3%, 29.8%) |
| CIE-LAB | lab(66.23, -6.59, 58.81) |
| CIE-LCH | lch(66.23, 59.17, 96.39°) |
| OKLab | oklab(70.67% -0.0243 0.1295) |
| OKLCH | oklch(70.67% 0.132 100.6) |
| XYZ | xyz(32.0054, 35.6231, 7.7743) |
| Luminance | 0.3562 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.37
Brown Yellow
#B29705
ΔE00 4.41
Puke
#A5A502
ΔE00 5.09
Vomit
#A2A415
ΔE00 5.35
Ocher
#BF9B0C
ΔE00 5.76
Dark Gold
#B59410
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3A22E #2E3FB3
analogous
#B3602E #B3A22E #82B32E
triadic
#B3A22E #2EB3A2 #A22EB3
tetradic
#B3A22E #2EB360 #2E3FB3 #B32E82
square
#B3A22E #2EB360 #2E3FB3 #B32E82
split-complementary
#B3A22E #2E82B3 #602EB3
monochromatic
#524A15 #827621 #B3A22E #D1C04D #DED17E
Accessibility & contrast
On white
2.58
#B3A22E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.12
#B3A22E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3A22E
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3A22E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3A22E | 1.00 | 2.58 | 8.12 | 8.12 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29D19
Deuteranopia (green-blind)
#B6A436
Tritanopia (blue-blind)
#C1968C
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #b3a22e; /* rgb */ color: rgb(179, 162, 46); /* oklch */ color: oklch(70.7% 0.132 100.6);
Tailwind
colors: {
custom: {
50: '#cdbd6f',
500: '#b3a22e',
950: '#000000',
},
}SCSS
$custom: #b3a22e; $custom-light: #cdbd6f; $custom-dark: #000000;
JSON
{
"hex": "#b3a22e",
"rgb": {
"r": 179,
"g": 162,
"b": 46
},
"hsl": {
"h": 52.331,
"s": 59.111,
"l": 44.118
},
"oklch": {
"l": 0.70665,
"c": 0.13181,
"h": 100.6
},
"luminance": 0.35622
}Semantic roles & 50–950 ramp
primary
#B3A22E
secondary
#7681C6
accent
#5AE246
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B