#B2A52A#B2A52A
#B2A52A is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.2% C 0.137 H 103.1°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A52A |
|---|---|
| RGB | rgb(178, 165, 42) |
| HSL | hsl(54, 62%, 43%) |
| HSV | hsv(54, 76%, 70%) |
| CMYK | cmyk(0%, 7.3%, 76.4%, 30.2%) |
| CIE-LAB | lab(66.93, -8.79, 60.84) |
| CIE-LCH | lch(66.93, 61.47, 98.22°) |
| OKLab | oklab(71.19% -0.0309 0.1331) |
| OKLCH | oklch(71.19% 0.137 103.1) |
| XYZ | xyz(32.2346, 36.5438, 7.5458) |
| Luminance | 0.3654 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.84
Puke
#A5A502
ΔE00 3.87
Vomit
#A2A415
ΔE00 4.21
Brown Yellow
#B29705
ΔE00 5.49
Brownish Yellow
#C9B003
ΔE00 5.73
Olive Yellow
#C2B709
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A52A #2A37B2
analogous
#B2612A #B2A52A #7BB22A
triadic
#B2A52A #2AB2A5 #A52AB2
tetradic
#B2A52A #2AB261 #2A37B2 #B22A7B
square
#B2A52A #2AB261 #2A37B2 #B22A7B
split-complementary
#B2A52A #2A7BB2 #612AB2
monochromatic
#4F4913 #80771E #B2A52A #D3C646 #DFD577
Accessibility & contrast
On white
2.53
#B2A52A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.31
#B2A52A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A52A
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A52A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A52A | 1.00 | 2.53 | 8.31 | 8.31 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A00E
Deuteranopia (green-blind)
#B8A633
Tritanopia (blue-blind)
#C0998E
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b2a52a; /* rgb */ color: rgb(178, 165, 42); /* oklch */ color: oklch(71.2% 0.137 103.1);
Tailwind
colors: {
custom: {
50: '#cdbf6e',
500: '#b2a52a',
950: '#000000',
},
}SCSS
$custom: #b2a52a; $custom-light: #cdbf6e; $custom-dark: #000000;
JSON
{
"hex": "#b2a52a",
"rgb": {
"r": 178,
"g": 165,
"b": 42
},
"hsl": {
"h": 54.265,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.71194,
"c": 0.13667,
"h": 103.1
},
"luminance": 0.36542
}Semantic roles & 50–950 ramp
primary
#B2A52A
secondary
#7179C7
accent
#52E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B