#B3A82A#B3A82A
#B3A82A is a light, vivid yellow. Relative luminance 0.378; OKLCH L 71.9% C 0.139 H 104.2°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #B3A82A |
|---|---|
| RGB | rgb(179, 168, 42) |
| HSL | hsl(55, 62%, 43%) |
| HSV | hsv(55, 77%, 70%) |
| CMYK | cmyk(0%, 6.1%, 76.5%, 29.8%) |
| CIE-LAB | lab(67.84, -9.92, 61.71) |
| CIE-LCH | lch(67.84, 62.50, 99.13°) |
| OKLab | oklab(71.94% -0.0341 0.1349) |
| OKLCH | oklch(71.94% 0.139 104.2) |
| XYZ | xyz(33.0124, 37.7575, 7.7390) |
| Luminance | 0.3776 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.54
Muddy Yellow
#BFAC05
ΔE00 3.59
Vomit
#A2A415
ΔE00 3.95
Olive Yellow
#C2B709
ΔE00 5.04
Brownish Yellow
#C9B003
ΔE00 5.51
Brown Yellow
#B29705
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3A82A #2A35B3
analogous
#B3632A #B3A82A #7AB32A
triadic
#B3A82A #2AB3A8 #A82AB3
tetradic
#B3A82A #2AB363 #2A35B3 #B32A7A
square
#B3A82A #2AB363 #2A35B3 #B32A7A
split-complementary
#B3A82A #2A7AB3 #632AB3
monochromatic
#504B13 #81791E #B3A82A #D4C846 #DFD778
Accessibility & contrast
On white
2.46
#B3A82A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.55
#B3A82A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3A82A
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3A82A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3A82A | 1.00 | 2.46 | 8.55 | 8.55 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A20C
Deuteranopia (green-blind)
#BBA834
Tritanopia (blue-blind)
#C19C90
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b3a82a; /* rgb */ color: rgb(179, 168, 42); /* oklch */ color: oklch(71.9% 0.139 104.2);
Tailwind
colors: {
custom: {
50: '#cec16e',
500: '#b3a82a',
950: '#000000',
},
}SCSS
$custom: #b3a82a; $custom-light: #cec16e; $custom-dark: #000000;
JSON
{
"hex": "#b3a82a",
"rgb": {
"r": 179,
"g": 168,
"b": 42
},
"hsl": {
"h": 55.182,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.71938,
"c": 0.1392,
"h": 104.2
},
"luminance": 0.37756
}Semantic roles & 50–950 ramp
primary
#B3A82A
secondary
#7278C7
accent
#50E543
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B