#B6A12C#B6A12C
#B6A12C is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.7% C 0.132 H 98.6°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #B6A12C |
|---|---|
| RGB | rgb(182, 161, 44) |
| HSL | hsl(51, 61%, 44%) |
| HSV | hsv(51, 76%, 71%) |
| CMYK | cmyk(0%, 11.5%, 75.8%, 28.6%) |
| CIE-LAB | lab(66.23, -4.82, 59.62) |
| CIE-LCH | lch(66.23, 59.81, 94.62°) |
| OKLab | oklab(70.72% -0.0197 0.1308) |
| OKLCH | oklch(70.72% 0.132 98.6) |
| XYZ | xyz(32.4925, 35.6183, 7.5459) |
| Luminance | 0.3562 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.62
Muddy Yellow
#BFAC05
ΔE00 4.35
Ocher
#BF9B0C
ΔE00 4.62
Dark Gold
#B59410
ΔE00 4.93
Yellow Brown
#B79400
ΔE00 5.37
Baby Poo
#AB9004
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6A12C #2C41B6
analogous
#B65C2C #B6A12C #86B62C
triadic
#B6A12C #2CB6A1 #A12CB6
tetradic
#B6A12C #2CB65C #2C41B6 #B62C86
square
#B6A12C #2CB65C #2C41B6 #B62C86
split-complementary
#B6A12C #2C86B6 #5C2CB6
monochromatic
#534A14 #857520 #B6A12C #D4BF4C #E0D17D
Accessibility & contrast
On white
2.59
#B6A12C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.12
#B6A12C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B6A12C
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6A12C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B6A12C | 1.00 | 2.59 | 8.12 | 8.12 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19D15
Deuteranopia (green-blind)
#B7A434
Tritanopia (blue-blind)
#C5958B
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #b6a12c; /* rgb */ color: rgb(182, 161, 44); /* oklch */ color: oklch(70.7% 0.132 98.6);
Tailwind
colors: {
custom: {
50: '#d0bc6e',
500: '#b6a12c',
950: '#000000',
},
}SCSS
$custom: #b6a12c; $custom-light: #d0bc6e; $custom-dark: #000000;
JSON
{
"hex": "#b6a12c",
"rgb": {
"r": 182,
"g": 161,
"b": 44
},
"hsl": {
"h": 50.87,
"s": 61.062,
"l": 44.314
},
"oklch": {
"l": 0.70724,
"c": 0.13224,
"h": 98.6
},
"luminance": 0.35617
}Semantic roles & 50–950 ramp
primary
#B6A12C
secondary
#7682C8
accent
#5CE444
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B