#B3A22F#B3A22F
#B3A22F is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.7% C 0.131 H 100.6°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B3A22F |
|---|---|
| RGB | rgb(179, 162, 47) |
| HSL | hsl(52, 58%, 44%) |
| HSV | hsv(52, 74%, 70%) |
| CMYK | cmyk(0%, 9.5%, 73.7%, 29.8%) |
| CIE-LAB | lab(66.24, -6.54, 58.44) |
| CIE-LCH | lch(66.24, 58.81, 96.39°) |
| OKLab | oklab(70.67% -0.0241 0.129) |
| OKLCH | oklch(70.67% 0.131 100.6) |
| XYZ | xyz(32.0253, 35.6311, 7.8794) |
| Luminance | 0.3563 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.45
Brown Yellow
#B29705
ΔE00 4.45
Puke
#A5A502
ΔE00 5.14
Vomit
#A2A415
ΔE00 5.38
Ocher
#BF9B0C
ΔE00 5.79
Dark Gold
#B59410
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3A22F #2F40B3
analogous
#B3602F #B3A22F #82B32F
triadic
#B3A22F #2FB3A2 #A22FB3
tetradic
#B3A22F #2FB360 #2F40B3 #B32F82
square
#B3A22F #2FB360 #2F40B3 #B32F82
split-complementary
#B3A22F #2F82B3 #602FB3
monochromatic
#524A16 #837622 #B3A22F #D1C04F #DDD17F
Accessibility & contrast
On white
2.58
#B3A22F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.13
#B3A22F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3A22F
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3A22F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3A22F | 1.00 | 2.58 | 8.13 | 8.13 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29D1B
Deuteranopia (green-blind)
#B6A437
Tritanopia (blue-blind)
#C1968C
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #b3a22f; /* rgb */ color: rgb(179, 162, 47); /* oklch */ color: oklch(70.7% 0.131 100.6);
Tailwind
colors: {
custom: {
50: '#cdbd70',
500: '#b3a22f',
950: '#000000',
},
}SCSS
$custom: #b3a22f; $custom-light: #cdbd70; $custom-dark: #000000;
JSON
{
"hex": "#b3a22f",
"rgb": {
"r": 179,
"g": 162,
"b": 47
},
"hsl": {
"h": 52.273,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.70672,
"c": 0.13121,
"h": 100.6
},
"luminance": 0.3563
}Semantic roles & 50–950 ramp
primary
#B3A22F
secondary
#7882C6
accent
#5AE246
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B