#B2A73B#B2A73B
#B2A73B is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.8% C 0.127 H 103.5°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A73B |
|---|---|
| RGB | rgb(178, 167, 59) |
| HSL | hsl(54, 50%, 46%) |
| HSV | hsv(54, 67%, 70%) |
| CMYK | cmyk(0%, 6.2%, 66.9%, 30.2%) |
| CIE-LAB | lab(67.59, -8.99, 55.04) |
| CIE-LCH | lch(67.59, 55.77, 99.28°) |
| OKLab | oklab(71.75% -0.0297 0.1239) |
| OKLCH | oklch(71.75% 0.127 103.5) |
| XYZ | xyz(32.9695, 37.4195, 9.6228) |
| Luminance | 0.3742 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.55
Puke
#A5A502
ΔE00 4.58
Muddy Yellow
#BFAC05
ΔE00 5.07
Olive Yellow
#C2B709
ΔE00 6.43
Khaki (survey)
#AAA662
ΔE00 6.61
Brownish Yellow
#C9B003
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A73B #3B46B2
analogous
#B26C3B #B2A73B #82B23B
triadic
#B2A73B #3BB2A7 #A73BB2
tetradic
#B2A73B #3BB26C #3B46B2 #B23B82
square
#B2A73B #3BB26C #3B46B2 #B23B82
split-complementary
#B2A73B #3B82B2 #6C3BB2
monochromatic
#56511D #847C2C #B2A73B #CAC060 #DAD38E
Accessibility & contrast
On white
2.48
#B2A73B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.48
#B2A73B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A73B
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A73B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A73B | 1.00 | 2.48 | 8.48 | 8.48 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A22C
Deuteranopia (green-blind)
#B9A742
Tritanopia (blue-blind)
#BF9C91
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b2a73b; /* rgb */ color: rgb(178, 167, 59); /* oklch */ color: oklch(71.8% 0.127 103.5);
Tailwind
colors: {
custom: {
50: '#ccc077',
500: '#b2a73b',
950: '#000000',
},
}SCSS
$custom: #b2a73b; $custom-light: #ccc077; $custom-dark: #000000;
JSON
{
"hex": "#b2a73b",
"rgb": {
"r": 178,
"g": 167,
"b": 59
},
"hsl": {
"h": 54.454,
"s": 50.211,
"l": 46.471
},
"oklch": {
"l": 0.71752,
"c": 0.12745,
"h": 103.5
},
"luminance": 0.37418
}Semantic roles & 50–950 ramp
primary
#B2A73B
secondary
#858AC4
accent
#5BDA4E
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B