#B2A72D#B2A72D
#B2A72D is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.6% C 0.137 H 104.1°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A72D |
|---|---|
| RGB | rgb(178, 167, 45) |
| HSL | hsl(55, 60%, 44%) |
| HSV | hsv(55, 75%, 70%) |
| CMYK | cmyk(0%, 6.2%, 74.7%, 30.2%) |
| CIE-LAB | lab(67.50, -9.71, 60.33) |
| CIE-LCH | lch(67.50, 61.11, 99.14°) |
| OKLab | oklab(71.65% -0.0332 0.1326) |
| OKLCH | oklch(71.65% 0.137 104.1) |
| XYZ | xyz(32.6539, 37.2932, 7.9604) |
| Luminance | 0.3729 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.61
Vomit
#A2A415
ΔE00 3.90
Muddy Yellow
#BFAC05
ΔE00 3.96
Olive Yellow
#C2B709
ΔE00 5.48
Brownish Yellow
#C9B003
ΔE00 5.85
Brown Yellow
#B29705
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A72D #2D38B2
analogous
#B2642D #B2A72D #7AB22D
triadic
#B2A72D #2DB2A7 #A72DB2
tetradic
#B2A72D #2DB264 #2D38B2 #B22D7A
square
#B2A72D #2DB264 #2D38B2 #B22D7A
split-complementary
#B2A72D #2D7AB2 #642DB2
monochromatic
#504B14 #817921 #B2A72D #D1C64B #DED67C
Accessibility & contrast
On white
2.48
#B2A72D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.46
#B2A72D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A72D
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A72D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A72D | 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)
#B6A115
Deuteranopia (green-blind)
#BAA736
Tritanopia (blue-blind)
#C09B90
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b2a72d; /* rgb */ color: rgb(178, 167, 45); /* oklch */ color: oklch(71.6% 0.137 104.1);
Tailwind
colors: {
custom: {
50: '#cdc06f',
500: '#b2a72d',
950: '#000000',
},
}SCSS
$custom: #b2a72d; $custom-light: #cdc06f; $custom-dark: #000000;
JSON
{
"hex": "#b2a72d",
"rgb": {
"r": 178,
"g": 167,
"b": 45
},
"hsl": {
"h": 55.038,
"s": 59.641,
"l": 43.725
},
"oklch": {
"l": 0.71648,
"c": 0.13672,
"h": 104.1
},
"luminance": 0.37292
}Semantic roles & 50–950 ramp
primary
#B2A72D
secondary
#757BC6
accent
#52E345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B