#B2A73E#B2A73E
#B2A73E is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.8% C 0.125 H 103.3°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A73E |
|---|---|
| RGB | rgb(178, 167, 62) |
| HSL | hsl(54, 48%, 47%) |
| HSV | hsv(54, 65%, 70%) |
| CMYK | cmyk(0%, 6.2%, 65.2%, 30.2%) |
| CIE-LAB | lab(67.61, -8.81, 53.79) |
| CIE-LCH | lch(67.61, 54.51, 99.30°) |
| OKLab | oklab(71.78% -0.0288 0.1218) |
| OKLCH | oklch(71.78% 0.125 103.3) |
| XYZ | xyz(33.0496, 37.4515, 10.0445) |
| Luminance | 0.3745 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.77
Puke
#A5A502
ΔE00 4.86
Muddy Yellow
#BFAC05
ΔE00 5.36
Khaki (survey)
#AAA662
ΔE00 6.27
Darkkhaki
#BDB76B
ΔE00 6.60
Olive Yellow
#C2B709
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A73E #3E49B2
analogous
#B26D3E #B2A73E #83B23E
triadic
#B2A73E #3EB2A7 #A73EB2
tetradic
#B2A73E #3EB26D #3E49B2 #B23E83
square
#B2A73E #3EB26D #3E49B2 #B23E83
split-complementary
#B2A73E #3E83B2 #6D3EB2
monochromatic
#57521E #857C2E #B2A73E #C9BF64 #D9D292
Accessibility & contrast
On white
2.47
#B2A73E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.49
#B2A73E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A73E
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A73E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A73E | 1.00 | 2.47 | 8.49 | 8.49 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A231
Deuteranopia (green-blind)
#B9A744
Tritanopia (blue-blind)
#BF9C91
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b2a73e; /* rgb */ color: rgb(178, 167, 62); /* oklch */ color: oklch(71.8% 0.125 103.3);
Tailwind
colors: {
custom: {
50: '#ccc078',
500: '#b2a73e',
950: '#000000',
},
}SCSS
$custom: #b2a73e; $custom-light: #ccc078; $custom-dark: #000000;
JSON
{
"hex": "#b2a73e",
"rgb": {
"r": 178,
"g": 167,
"b": 62
},
"hsl": {
"h": 54.31,
"s": 48.333,
"l": 47.059
},
"oklch": {
"l": 0.71779,
"c": 0.12517,
"h": 103.3
},
"luminance": 0.3745
}Semantic roles & 50–950 ramp
primary
#B2A73E
secondary
#888DC4
accent
#5DD850
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B