#B2A72B#B2A72B
#B2A72B is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.6% C 0.138 H 104.1°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A72B |
|---|---|
| RGB | rgb(178, 167, 43) |
| HSL | hsl(55, 61%, 43%) |
| HSV | hsv(55, 76%, 70%) |
| CMYK | cmyk(0%, 6.2%, 75.8%, 30.2%) |
| CIE-LAB | lab(67.49, -9.80, 61.01) |
| CIE-LCH | lch(67.49, 61.79, 99.12°) |
| OKLab | oklab(71.64% -0.0336 0.1337) |
| OKLCH | oklch(71.64% 0.138 104.1) |
| XYZ | xyz(32.6163, 37.2782, 7.7624) |
| Luminance | 0.3728 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.51
Muddy Yellow
#BFAC05
ΔE00 3.84
Vomit
#A2A415
ΔE00 3.85
Olive Yellow
#C2B709
ΔE00 5.38
Brownish Yellow
#C9B003
ΔE00 5.76
Brown Yellow
#B29705
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A72B #2B36B2
analogous
#B2632B #B2A72B #79B22B
triadic
#B2A72B #2BB2A7 #A72BB2
tetradic
#B2A72B #2BB263 #2B36B2 #B22B79
square
#B2A72B #2BB263 #2B36B2 #B22B79
split-complementary
#B2A72B #2B79B2 #632BB2
monochromatic
#4F4B13 #81791F #B2A72B #D3C748 #DFD679
Accessibility & contrast
On white
2.48
#B2A72B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.46
#B2A72B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A72B
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A72B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A72B | 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)
#B6A110
Deuteranopia (green-blind)
#BAA734
Tritanopia (blue-blind)
#C09B8F
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b2a72b; /* rgb */ color: rgb(178, 167, 43); /* oklch */ color: oklch(71.6% 0.138 104.1);
Tailwind
colors: {
custom: {
50: '#cdc06e',
500: '#b2a72b',
950: '#000000',
},
}SCSS
$custom: #b2a72b; $custom-light: #cdc06e; $custom-dark: #000000;
JSON
{
"hex": "#b2a72b",
"rgb": {
"r": 178,
"g": 167,
"b": 43
},
"hsl": {
"h": 55.111,
"s": 61.086,
"l": 43.333
},
"oklch": {
"l": 0.71635,
"c": 0.13785,
"h": 104.1
},
"luminance": 0.37277
}Semantic roles & 50–950 ramp
primary
#B2A72B
secondary
#7279C7
accent
#51E444
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B