#B2A548#B2A548
#B2A548 is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.4% C 0.115 H 101.4°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A548 |
|---|---|
| RGB | rgb(178, 165, 72) |
| HSL | hsl(53, 42%, 49%) |
| HSV | hsv(53, 60%, 70%) |
| CMYK | cmyk(0%, 7.3%, 59.6%, 30.2%) |
| CIE-LAB | lab(67.16, -7.08, 48.83) |
| CIE-LCH | lch(67.16, 49.34, 98.25°) |
| OKLab | oklab(71.45% -0.0227 0.1127) |
| OKLCH | oklch(71.45% 0.115 101.4) |
| XYZ | xyz(32.9861, 36.8444, 11.5038) |
| Luminance | 0.3684 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 5.10
Darkkhaki
#BDB76B
ΔE00 6.11
Vomit
#A2A415
ΔE00 6.11
Puke
#A5A502
ΔE00 6.35
Muddy Yellow
#BFAC05
ΔE00 6.62
Brown Yellow
#B29705
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A548 #4855B2
analogous
#B27048 #B2A548 #8AB248
triadic
#B2A548 #48B2A5 #A548B2
tetradic
#B2A548 #48B270 #4855B2 #B2488A
square
#B2A548 #48B270 #4855B2 #B2488A
split-complementary
#B2A548 #488AB2 #7048B2
monochromatic
#5B5425 #867D36 #B2A548 #C6BB71 #D7D09D
Accessibility & contrast
On white
2.51
#B2A548 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.37
#B2A548 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A548
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A548 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A548 | 1.00 | 2.51 | 8.37 | 8.37 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A03E
Deuteranopia (green-blind)
#B7A64D
Tritanopia (blue-blind)
#BF9A91
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b2a548; /* rgb */ color: rgb(178, 165, 72); /* oklch */ color: oklch(71.4% 0.115 101.4);
Tailwind
colors: {
custom: {
50: '#ccbf7e',
500: '#b2a548',
950: '#000000',
},
}SCSS
$custom: #b2a548; $custom-light: #ccbf7e; $custom-dark: #000000;
JSON
{
"hex": "#b2a548",
"rgb": {
"r": 178,
"g": 165,
"b": 72
},
"hsl": {
"h": 52.642,
"s": 42.4,
"l": 49.02
},
"oklch": {
"l": 0.71447,
"c": 0.11496,
"h": 101.4
},
"luminance": 0.36843
}Semantic roles & 50–950 ramp
primary
#B2A548
secondary
#9298C4
accent
#65D256
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C