#B3A42B#B3A42B
#B3A42B is a light, vivid yellow. Relative luminance 0.363; OKLCH L 71.1% C 0.135 H 102.0°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #B3A42B |
|---|---|
| RGB | rgb(179, 164, 43) |
| HSL | hsl(53, 61%, 44%) |
| HSV | hsv(53, 76%, 70%) |
| CMYK | cmyk(0%, 8.4%, 76%, 29.8%) |
| CIE-LAB | lab(66.76, -7.78, 60.37) |
| CIE-LCH | lch(66.76, 60.86, 97.34°) |
| OKLab | oklab(71.08% -0.028 0.1323) |
| OKLCH | oklch(71.08% 0.135 102) |
| XYZ | xyz(32.3034, 36.3105, 7.5921) |
| Luminance | 0.3631 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.85
Puke
#A5A502
ΔE00 4.40
Vomit
#A2A415
ΔE00 4.74
Brown Yellow
#B29705
ΔE00 4.99
Brownish Yellow
#C9B003
ΔE00 5.64
Olive Yellow
#C2B709
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3A42B #2B3AB3
analogous
#B3602B #B3A42B #7EB32B
triadic
#B3A42B #2BB3A4 #A42BB3
tetradic
#B3A42B #2BB360 #2B3AB3 #B32B7E
square
#B3A42B #2BB360 #2B3AB3 #B32B7E
split-complementary
#B3A42B #2B7EB3 #602BB3
monochromatic
#504A13 #82771F #B3A42B #D3C448 #DFD479
Accessibility & contrast
On white
2.54
#B3A42B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.26
#B3A42B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3A42B
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3A42B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3A42B | 1.00 | 2.54 | 8.26 | 8.26 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F11
Deuteranopia (green-blind)
#B8A534
Tritanopia (blue-blind)
#C1988D
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b3a42b; /* rgb */ color: rgb(179, 164, 43); /* oklch */ color: oklch(71.1% 0.135 102.0);
Tailwind
colors: {
custom: {
50: '#cebe6e',
500: '#b3a42b',
950: '#000000',
},
}SCSS
$custom: #b3a42b; $custom-light: #cebe6e; $custom-dark: #000000;
JSON
{
"hex": "#b3a42b",
"rgb": {
"r": 179,
"g": 164,
"b": 43
},
"hsl": {
"h": 53.382,
"s": 61.261,
"l": 43.529
},
"oklch": {
"l": 0.71077,
"c": 0.13521,
"h": 102
},
"luminance": 0.36309
}Semantic roles & 50–950 ramp
primary
#B3A42B
secondary
#737CC7
accent
#55E443
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B