#B3AB2E#B3AB2E
#B3AB2E is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.6% C 0.140 H 105.6°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #B3AB2E |
|---|---|
| RGB | rgb(179, 171, 46) |
| HSL | hsl(56, 59%, 44%) |
| HSV | hsv(56, 74%, 70%) |
| CMYK | cmyk(0%, 4.5%, 74.3%, 29.8%) |
| CIE-LAB | lab(68.68, -11.31, 61.13) |
| CIE-LCH | lch(68.68, 62.17, 100.48°) |
| OKLab | oklab(72.62% -0.0377 0.1345) |
| OKLCH | oklch(72.62% 0.14 105.6) |
| XYZ | xyz(33.6479, 38.9081, 8.3218) |
| Luminance | 0.3891 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.45
Vomit
#A2A415
ΔE00 3.77
Muddy Yellow
#BFAC05
ΔE00 4.04
Olive Yellow
#C2B709
ΔE00 4.67
Mustard Green
#A8B504
ΔE00 5.64
Brownish Yellow
#C9B003
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3AB2E #2E36B3
analogous
#B3692E #B3AB2E #79B32E
triadic
#B3AB2E #2EB3AB #AB2EB3
tetradic
#B3AB2E #2EB369 #2E36B3 #B32E79
square
#B3AB2E #2EB369 #2E36B3 #B32E79
split-complementary
#B3AB2E #2E79B3 #692EB3
monochromatic
#524E15 #827C21 #B3AB2E #D1C94D #DED87E
Accessibility & contrast
On white
2.39
#B3AB2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.78
#B3AB2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3AB2E
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3AB2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3AB2E | 1.00 | 2.39 | 8.78 | 8.78 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA515
Deuteranopia (green-blind)
#BDAA37
Tritanopia (blue-blind)
#C09F93
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b3ab2e; /* rgb */ color: rgb(179, 171, 46); /* oklch */ color: oklch(72.6% 0.140 105.6);
Tailwind
colors: {
custom: {
50: '#cdc370',
500: '#b3ab2e',
950: '#000000',
},
}SCSS
$custom: #b3ab2e; $custom-light: #cdc370; $custom-dark: #000000;
JSON
{
"hex": "#b3ab2e",
"rgb": {
"r": 179,
"g": 171,
"b": 46
},
"hsl": {
"h": 56.391,
"s": 59.111,
"l": 44.118
},
"oklch": {
"l": 0.72616,
"c": 0.13965,
"h": 105.6
},
"luminance": 0.38907
}Semantic roles & 50–950 ramp
primary
#B3AB2E
secondary
#767BC6
accent
#4FE246
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B