#B2A536#B2A536
#B2A536 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.3% C 0.129 H 102.5°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A536 |
|---|---|
| RGB | rgb(178, 165, 54) |
| HSL | hsl(54, 53%, 45%) |
| HSV | hsv(54, 70%, 70%) |
| CMYK | cmyk(0%, 7.3%, 69.7%, 30.2%) |
| CIE-LAB | lab(67.01, -8.22, 56.48) |
| CIE-LCH | lch(67.01, 57.07, 98.28°) |
| OKLab | oklab(71.28% -0.0281 0.1261) |
| OKLCH | oklch(71.28% 0.129 102.5) |
| XYZ | xyz(32.4825, 36.6429, 8.8511) |
| Luminance | 0.3664 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 4.56
Vomit
#A2A415
ΔE00 4.64
Muddy Yellow
#BFAC05
ΔE00 4.72
Brown Yellow
#B29705
ΔE00 5.86
Brownish Yellow
#C9B003
ΔE00 6.40
Olive Yellow
#C2B709
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A536 #3643B2
analogous
#B26736 #B2A536 #81B236
triadic
#B2A536 #36B2A5 #A536B2
tetradic
#B2A536 #36B267 #3643B2 #B23681
square
#B2A536 #36B267 #3643B2 #B23681
split-complementary
#B2A536 #3681B2 #6736B2
monochromatic
#544E1A #837928 #B2A536 #CDC059 #DBD288
Accessibility & contrast
On white
2.52
#B2A536 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.33
#B2A536 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A536
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A536 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A536 | 1.00 | 2.52 | 8.33 | 8.33 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A026
Deuteranopia (green-blind)
#B8A63D
Tritanopia (blue-blind)
#BF998F
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b2a536; /* rgb */ color: rgb(178, 165, 54); /* oklch */ color: oklch(71.3% 0.129 102.5);
Tailwind
colors: {
custom: {
50: '#ccbf74',
500: '#b2a536',
950: '#000000',
},
}SCSS
$custom: #b2a536; $custom-light: #ccbf74; $custom-dark: #000000;
JSON
{
"hex": "#b2a536",
"rgb": {
"r": 178,
"g": 165,
"b": 54
},
"hsl": {
"h": 53.71,
"s": 53.448,
"l": 45.49
},
"oklch": {
"l": 0.71278,
"c": 0.12921,
"h": 102.5
},
"luminance": 0.36642
}Semantic roles & 50–950 ramp
primary
#B2A536
secondary
#7F86C5
accent
#5ADD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B