#B2A72E#B2A72E
#B2A72E is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.7% C 0.136 H 104.0°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A72E |
|---|---|
| RGB | rgb(178, 167, 46) |
| HSL | hsl(55, 59%, 44%) |
| HSV | hsv(55, 74%, 70%) |
| CMYK | cmyk(0%, 6.2%, 74.2%, 30.2%) |
| CIE-LAB | lab(67.50, -9.66, 59.98) |
| CIE-LCH | lch(67.50, 60.76, 99.15°) |
| OKLab | oklab(71.65% -0.033 0.1321) |
| OKLCH | oklch(71.65% 0.136 104) |
| XYZ | xyz(32.6734, 37.3010, 8.0630) |
| Luminance | 0.3730 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.66
Vomit
#A2A415
ΔE00 3.93
Muddy Yellow
#BFAC05
ΔE00 4.02
Olive Yellow
#C2B709
ΔE00 5.54
Brownish Yellow
#C9B003
ΔE00 5.90
Brown Yellow
#B29705
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A72E #2E39B2
analogous
#B2652E #B2A72E #7BB22E
triadic
#B2A72E #2EB2A7 #A72EB2
tetradic
#B2A72E #2EB265 #2E39B2 #B22E7B
square
#B2A72E #2EB265 #2E39B2 #B22E7B
split-complementary
#B2A72E #2E7BB2 #652EB2
monochromatic
#514C15 #817921 #B2A72E #D1C64C #DDD57D
Accessibility & contrast
On white
2.48
#B2A72E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.46
#B2A72E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A72E
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A72E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A72E | 1.00 | 2.48 | 8.46 | 8.46 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A117
Deuteranopia (green-blind)
#BAA737
Tritanopia (blue-blind)
#C09B90
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b2a72e; /* rgb */ color: rgb(178, 167, 46); /* oklch */ color: oklch(71.7% 0.136 104.0);
Tailwind
colors: {
custom: {
50: '#cdc070',
500: '#b2a72e',
950: '#000000',
},
}SCSS
$custom: #b2a72e; $custom-light: #cdc070; $custom-dark: #000000;
JSON
{
"hex": "#b2a72e",
"rgb": {
"r": 178,
"g": 167,
"b": 46
},
"hsl": {
"h": 55,
"s": 58.929,
"l": 43.922
},
"oklch": {
"l": 0.71654,
"c": 0.13613,
"h": 104
},
"luminance": 0.373
}Semantic roles & 50–950 ramp
primary
#B2A72E
secondary
#767DC6
accent
#53E246
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B