#B2AB46#B2AB46
#B2AB46 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.7% C 0.123 H 105.3°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AB46 |
|---|---|
| RGB | rgb(178, 171, 70) |
| HSL | hsl(56, 44%, 49%) |
| HSV | hsv(56, 61%, 70%) |
| CMYK | cmyk(0%, 3.9%, 60.7%, 30.2%) |
| CIE-LAB | lab(68.78, -10.37, 51.53) |
| CIE-LCH | lch(68.78, 52.56, 101.38°) |
| OKLab | oklab(72.72% -0.0324 0.1182) |
| OKLCH | oklch(72.72% 0.123 105.3) |
| XYZ | xyz(34.0297, 39.0341, 11.5350) |
| Luminance | 0.3903 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 5.02
Puke
#A5A502
ΔE00 5.28
Darkkhaki
#BDB76B
ΔE00 5.35
Khaki (survey)
#AAA662
ΔE00 5.57
Muddy Yellow
#BFAC05
ΔE00 6.26
Olive Yellow
#C2B709
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AB46 #464DB2
analogous
#B27546 #B2AB46 #83B246
triadic
#B2AB46 #46B2AB #AB46B2
tetradic
#B2AB46 #46B275 #464DB2 #B24683
square
#B2AB46 #46B275 #464DB2 #B24683
split-complementary
#B2AB46 #4683B2 #7546B2
monochromatic
#5A5723 #868135 #B2AB46 #C6C16F #D8D49B
Accessibility & contrast
On white
2.38
#B2AB46 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.81
#B2AB46 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AB46
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AB46 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AB46 | 1.00 | 2.38 | 8.81 | 8.81 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A53B
Deuteranopia (green-blind)
#BCAA4C
Tritanopia (blue-blind)
#BEA095
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b2ab46; /* rgb */ color: rgb(178, 171, 70); /* oklch */ color: oklch(72.7% 0.123 105.3);
Tailwind
colors: {
custom: {
50: '#ccc37e',
500: '#b2ab46',
950: '#000000',
},
}SCSS
$custom: #b2ab46; $custom-light: #ccc37e; $custom-dark: #000000;
JSON
{
"hex": "#b2ab46",
"rgb": {
"r": 178,
"g": 171,
"b": 70
},
"hsl": {
"h": 56.111,
"s": 43.548,
"l": 48.627
},
"oklch": {
"l": 0.72725,
"c": 0.12254,
"h": 105.3
},
"luminance": 0.39033
}Semantic roles & 50–950 ramp
primary
#B2AB46
secondary
#9093C4
accent
#5DD355
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C