#B2A346#B2A346
#B2A346 is a light, moderate yellow. Relative luminance 0.361; OKLCH L 71.0% C 0.115 H 100.2°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A346 |
|---|---|
| RGB | rgb(178, 163, 70) |
| HSL | hsl(52, 44%, 49%) |
| HSV | hsv(52, 61%, 70%) |
| CMYK | cmyk(0%, 8.4%, 60.7%, 30.2%) |
| CIE-LAB | lab(66.60, -6.16, 49.13) |
| CIE-LCH | lch(66.60, 49.52, 97.15°) |
| OKLab | oklab(70.99% -0.0204 0.1131) |
| OKLCH | oklch(70.99% 0.115 100.2) |
| XYZ | xyz(32.5640, 36.1029, 11.0464) |
| Luminance | 0.3610 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 5.48
Vomit
#A2A415
ΔE00 6.39
Brown Yellow
#B29705
ΔE00 6.41
Puke
#A5A502
ΔE00 6.58
Muddy Yellow
#BFAC05
ΔE00 6.62
Darkkhaki
#BDB76B
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A346 #4655B2
analogous
#B26D46 #B2A346 #8BB246
triadic
#B2A346 #46B2A3 #A346B2
tetradic
#B2A346 #46B26D #4655B2 #B2468B
square
#B2A346 #46B26D #4655B2 #B2468B
split-complementary
#B2A346 #468BB2 #6D46B2
monochromatic
#5A5323 #867B35 #B2A346 #C6BA6F #D8CF9B
Accessibility & contrast
On white
2.55
#B2A346 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.22
#B2A346 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A346
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A346 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A346 | 1.00 | 2.55 | 8.22 | 8.22 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19F3C
Deuteranopia (green-blind)
#B5A54B
Tritanopia (blue-blind)
#BF988F
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b2a346; /* rgb */ color: rgb(178, 163, 70); /* oklch */ color: oklch(71.0% 0.115 100.2);
Tailwind
colors: {
custom: {
50: '#ccbe7d',
500: '#b2a346',
950: '#000000',
},
}SCSS
$custom: #b2a346; $custom-light: #ccbe7d; $custom-dark: #000000;
JSON
{
"hex": "#b2a346",
"rgb": {
"r": 178,
"g": 163,
"b": 70
},
"hsl": {
"h": 51.667,
"s": 43.548,
"l": 48.627
},
"oklch": {
"l": 0.70995,
"c": 0.11489,
"h": 100.2
},
"luminance": 0.36102
}Semantic roles & 50–950 ramp
primary
#B2A346
secondary
#9097C4
accent
#66D355
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C