#B2A237#B2A237
#B2A237 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.6% C 0.126 H 100.7°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A237 |
|---|---|
| RGB | rgb(178, 162, 55) |
| HSL | hsl(52, 53%, 46%) |
| HSV | hsv(52, 69%, 70%) |
| CMYK | cmyk(0%, 9%, 69.1%, 30.2%) |
| CIE-LAB | lab(66.20, -6.58, 55.26) |
| CIE-LCH | lch(66.20, 55.65, 96.79°) |
| OKLab | oklab(70.64% -0.0233 0.1237) |
| OKLCH | oklch(70.64% 0.126 100.7) |
| XYZ | xyz(31.9714, 35.5829, 8.7978) |
| Luminance | 0.3558 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 5.01
Muddy Yellow
#BFAC05
ΔE00 5.18
Puke
#A5A502
ΔE00 5.41
Vomit
#A2A415
ΔE00 5.47
Dark Gold
#B59410
ΔE00 6.31
Ocher
#BF9B0C
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A237 #3747B2
analogous
#B26437 #B2A237 #84B237
triadic
#B2A237 #37B2A2 #A237B2
tetradic
#B2A237 #37B264 #3747B2 #B23784
square
#B2A237 #37B264 #3747B2 #B23784
split-complementary
#B2A237 #3784B2 #6437B2
monochromatic
#544D1A #837729 #B2A237 #CCBD5A #DBD089
Accessibility & contrast
On white
2.59
#B2A237 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.12
#B2A237 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A237
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A237 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A237 | 1.00 | 2.59 | 8.12 | 8.12 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19D28
Deuteranopia (green-blind)
#B6A43D
Tritanopia (blue-blind)
#C0968C
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #b2a237; /* rgb */ color: rgb(178, 162, 55); /* oklch */ color: oklch(70.6% 0.126 100.7);
Tailwind
colors: {
custom: {
50: '#ccbd74',
500: '#b2a237',
950: '#000000',
},
}SCSS
$custom: #b2a237; $custom-light: #ccbd74; $custom-dark: #000000;
JSON
{
"hex": "#b2a237",
"rgb": {
"r": 178,
"g": 162,
"b": 55
},
"hsl": {
"h": 52.195,
"s": 52.79,
"l": 45.686
},
"oklch": {
"l": 0.70638,
"c": 0.1259,
"h": 100.7
},
"luminance": 0.35581
}Semantic roles & 50–950 ramp
primary
#B2A237
secondary
#8089C5
accent
#5EDC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B