#B2A53A#B2A53A
#B2A53A is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.3% C 0.126 H 102.3°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A53A |
|---|---|
| RGB | rgb(178, 165, 58) |
| HSL | hsl(54, 51%, 46%) |
| HSV | hsv(54, 67%, 70%) |
| CMYK | cmyk(0%, 7.3%, 67.4%, 30.2%) |
| CIE-LAB | lab(67.04, -8.00, 54.88) |
| CIE-LCH | lch(67.04, 55.46, 98.29°) |
| OKLab | oklab(71.31% -0.027 0.1234) |
| OKLCH | oklch(71.31% 0.126 102.3) |
| XYZ | xyz(32.5803, 36.6821, 9.3664) |
| Luminance | 0.3668 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.88
Puke
#A5A502
ΔE00 4.88
Muddy Yellow
#BFAC05
ΔE00 5.08
Brown Yellow
#B29705
ΔE00 6.05
Brownish Yellow
#C9B003
ΔE00 6.69
Khaki (survey)
#AAA662
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A53A #3A47B2
analogous
#B2693A #B2A53A #83B23A
triadic
#B2A53A #3AB2A5 #A53AB2
tetradic
#B2A53A #3AB269 #3A47B2 #B23A83
square
#B2A53A #3AB269 #3A47B2 #B23A83
split-complementary
#B2A53A #3A83B2 #693AB2
monochromatic
#564F1C #847A2B #B2A53A #CBBF5F #DAD18D
Accessibility & contrast
On white
2.52
#B2A53A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.34
#B2A53A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A53A
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A53A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A53A | 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)
#B4A02C
Deuteranopia (green-blind)
#B8A640
Tritanopia (blue-blind)
#BF9A8F
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b2a53a; /* rgb */ color: rgb(178, 165, 58); /* oklch */ color: oklch(71.3% 0.126 102.3);
Tailwind
colors: {
custom: {
50: '#ccbf76',
500: '#b2a53a',
950: '#000000',
},
}SCSS
$custom: #b2a53a; $custom-light: #ccbf76; $custom-dark: #000000;
JSON
{
"hex": "#b2a53a",
"rgb": {
"r": 178,
"g": 165,
"b": 58
},
"hsl": {
"h": 53.5,
"s": 50.847,
"l": 46.275
},
"oklch": {
"l": 0.71311,
"c": 0.12636,
"h": 102.3
},
"luminance": 0.36681
}Semantic roles & 50–950 ramp
primary
#B2A53A
secondary
#838BC4
accent
#5DDA4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141209
muted
#82817B