#B6A22B#B6A22B
#B6A22B is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.9% C 0.134 H 99.2°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #B6A22B |
|---|---|
| RGB | rgb(182, 162, 43) |
| HSL | hsl(51, 62%, 44%) |
| HSV | hsv(51, 76%, 71%) |
| CMYK | cmyk(0%, 11%, 76.4%, 28.6%) |
| CIE-LAB | lab(66.49, -5.39, 60.22) |
| CIE-LCH | lch(66.49, 60.46, 95.12°) |
| OKLab | oklab(70.93% -0.0214 0.1318) |
| OKLCH | oklch(70.93% 0.134 99.2) |
| XYZ | xyz(32.6494, 35.9618, 7.5066) |
| Luminance | 0.3596 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.89
Muddy Yellow
#BFAC05
ΔE00 4.02
Ocher
#BF9B0C
ΔE00 4.90
Dark Gold
#B59410
ΔE00 5.29
Brownish Yellow
#C9B003
ΔE00 5.43
Yellow Brown
#B79400
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6A22B #2B3FB6
analogous
#B65D2B #B6A22B #85B62B
triadic
#B6A22B #2BB6A2 #A22BB6
tetradic
#B6A22B #2BB65D #2B3FB6 #B62B85
square
#B6A22B #2BB65D #2B3FB6 #B62B85
split-complementary
#B6A22B #2B85B6 #5D2BB6
monochromatic
#534A14 #84761F #B6A22B #D4C04A #E0D17B
Accessibility & contrast
On white
2.56
#B6A22B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.19
#B6A22B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B6A22B
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6A22B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B6A22B | 1.00 | 2.56 | 8.19 | 8.19 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29E12
Deuteranopia (green-blind)
#B8A533
Tritanopia (blue-blind)
#C5968B
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b6a22b; /* rgb */ color: rgb(182, 162, 43); /* oklch */ color: oklch(70.9% 0.134 99.2);
Tailwind
colors: {
custom: {
50: '#d0bd6e',
500: '#b6a22b',
950: '#000000',
},
}SCSS
$custom: #b6a22b; $custom-light: #d0bd6e; $custom-dark: #000000;
JSON
{
"hex": "#b6a22b",
"rgb": {
"r": 182,
"g": 162,
"b": 43
},
"hsl": {
"h": 51.367,
"s": 61.778,
"l": 44.118
},
"oklch": {
"l": 0.70931,
"c": 0.13356,
"h": 99.2
},
"luminance": 0.3596
}Semantic roles & 50–950 ramp
primary
#B6A22B
secondary
#7581C8
accent
#5AE543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B