#B2A643#B2A643
#B2A643 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.6% C 0.120 H 102.4°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A643 |
|---|---|
| RGB | rgb(178, 166, 67) |
| HSL | hsl(54, 45%, 48%) |
| HSV | hsv(54, 62%, 70%) |
| CMYK | cmyk(0%, 6.7%, 62.4%, 30.2%) |
| CIE-LAB | lab(67.38, -7.96, 51.36) |
| CIE-LCH | lch(67.38, 51.97, 98.81°) |
| OKLab | oklab(71.61% -0.0258 0.1174) |
| OKLCH | oklch(71.61% 0.12 102.4) |
| XYZ | xyz(33.0107, 37.1439, 10.7398) |
| Luminance | 0.3714 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 5.39
Puke
#A5A502
ΔE00 5.56
Khaki (survey)
#AAA662
ΔE00 5.68
Muddy Yellow
#BFAC05
ΔE00 5.94
Darkkhaki
#BDB76B
ΔE00 6.32
Brown Yellow
#B29705
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A643 #434FB2
analogous
#B26F43 #B2A643 #86B243
triadic
#B2A643 #43B2A6 #A643B2
tetradic
#B2A643 #43B26F #434FB2 #B24386
square
#B2A643 #43B26F #434FB2 #B24386
split-complementary
#B2A643 #4386B2 #6F43B2
monochromatic
#595322 #867D32 #B2A643 #C7BD6B #D8D197
Accessibility & contrast
On white
2.49
#B2A643 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.43
#B2A643 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A643
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A643 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A643 | 1.00 | 2.49 | 8.43 | 8.43 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A138
Deuteranopia (green-blind)
#B8A648
Tritanopia (blue-blind)
#BF9B91
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b2a643; /* rgb */ color: rgb(178, 166, 67); /* oklch */ color: oklch(71.6% 0.120 102.4);
Tailwind
colors: {
custom: {
50: '#ccc07b',
500: '#b2a643',
950: '#000000',
},
}SCSS
$custom: #b2a643; $custom-light: #ccc07b; $custom-dark: #000000;
JSON
{
"hex": "#b2a643",
"rgb": {
"r": 178,
"g": 166,
"b": 67
},
"hsl": {
"h": 53.514,
"s": 45.306,
"l": 48.039
},
"oklch": {
"l": 0.7161,
"c": 0.1202,
"h": 102.4
},
"luminance": 0.37143
}Semantic roles & 50–950 ramp
primary
#B2A643
secondary
#8D93C4
accent
#61D553
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C