#B2A53E#B2A53E
#B2A53E is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.3% C 0.123 H 102.1°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A53E |
|---|---|
| RGB | rgb(178, 165, 62) |
| HSL | hsl(53, 48%, 47%) |
| HSV | hsv(53, 65%, 70%) |
| CMYK | cmyk(0%, 7.3%, 65.2%, 30.2%) |
| CIE-LAB | lab(67.07, -7.76, 53.22) |
| CIE-LCH | lch(67.07, 53.78, 98.29°) |
| OKLab | oklab(71.35% -0.0258 0.1206) |
| OKLCH | oklch(71.35% 0.123 102.1) |
| XYZ | xyz(32.6860, 36.7244, 9.9233) |
| Luminance | 0.3672 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 5.17
Puke
#A5A502
ΔE00 5.25
Muddy Yellow
#BFAC05
ΔE00 5.48
Khaki (survey)
#AAA662
ΔE00 6.27
Brown Yellow
#B29705
ΔE00 6.28
Darkkhaki
#BDB76B
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A53E #3E4BB2
analogous
#B26B3E #B2A53E #85B23E
triadic
#B2A53E #3EB2A5 #A53EB2
tetradic
#B2A53E #3EB26B #3E4BB2 #B23E85
square
#B2A53E #3EB26B #3E4BB2 #B23E85
split-complementary
#B2A53E #3E85B2 #6B3EB2
monochromatic
#57511E #857B2E #B2A53E #C9BE64 #D9D192
Accessibility & contrast
On white
2.52
#B2A53E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.34
#B2A53E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A53E
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A53E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A53E | 1.00 | 2.52 | 8.34 | 8.34 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A031
Deuteranopia (green-blind)
#B7A644
Tritanopia (blue-blind)
#BF9A90
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b2a53e; /* rgb */ color: rgb(178, 165, 62); /* oklch */ color: oklch(71.3% 0.123 102.1);
Tailwind
colors: {
custom: {
50: '#ccbf78',
500: '#b2a53e',
950: '#000000',
},
}SCSS
$custom: #b2a53e; $custom-light: #ccbf78; $custom-dark: #000000;
JSON
{
"hex": "#b2a53e",
"rgb": {
"r": 178,
"g": 165,
"b": 62
},
"hsl": {
"h": 53.276,
"s": 48.333,
"l": 47.059
},
"oklch": {
"l": 0.71346,
"c": 0.12332,
"h": 102.1
},
"luminance": 0.36723
}Semantic roles & 50–950 ramp
primary
#B2A53E
secondary
#888FC4
accent
#5FD850
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141209
muted
#82817B