#B6A12E#B6A12E
#B6A12E is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.7% C 0.131 H 98.4°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B6A12E |
|---|---|
| RGB | rgb(182, 161, 46) |
| HSL | hsl(51, 60%, 45%) |
| HSV | hsv(51, 75%, 71%) |
| CMYK | cmyk(0%, 11.5%, 74.7%, 28.6%) |
| CIE-LAB | lab(66.24, -4.73, 58.91) |
| CIE-LCH | lch(66.24, 59.10, 94.59°) |
| OKLab | oklab(70.74% -0.0192 0.1296) |
| OKLCH | oklch(70.74% 0.131 98.4) |
| XYZ | xyz(32.5310, 35.6337, 7.7487) |
| Luminance | 0.3563 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.71
Muddy Yellow
#BFAC05
ΔE00 4.49
Ocher
#BF9B0C
ΔE00 4.68
Dark Gold
#B59410
ΔE00 4.96
Yellow Brown
#B79400
ΔE00 5.42
Baby Poo
#AB9004
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6A12E #2E43B6
analogous
#B65D2E #B6A12E #87B62E
triadic
#B6A12E #2EB6A1 #A12EB6
tetradic
#B6A12E #2EB65D #2E43B6 #B62E87
square
#B6A12E #2EB65D #2E43B6 #B62E87
split-complementary
#B6A12E #2E87B6 #5D2EB6
monochromatic
#544B15 #857622 #B6A12E #D2BE4F #DFD080
Accessibility & contrast
On white
2.58
#B6A12E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.13
#B6A12E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B6A12E
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6A12E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B6A12E | 1.00 | 2.58 | 8.13 | 8.13 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19D19
Deuteranopia (green-blind)
#B7A436
Tritanopia (blue-blind)
#C4958B
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #b6a12e; /* rgb */ color: rgb(182, 161, 46); /* oklch */ color: oklch(70.7% 0.131 98.4);
Tailwind
colors: {
custom: {
50: '#d0bc6f',
500: '#b6a12e',
950: '#000000',
},
}SCSS
$custom: #b6a12e; $custom-light: #d0bc6f; $custom-dark: #000000;
JSON
{
"hex": "#b6a12e",
"rgb": {
"r": 182,
"g": 161,
"b": 46
},
"hsl": {
"h": 50.735,
"s": 59.649,
"l": 44.706
},
"oklch": {
"l": 0.70737,
"c": 0.13106,
"h": 98.4
},
"luminance": 0.35632
}Semantic roles & 50–950 ramp
primary
#B6A12E
secondary
#7884C8
accent
#5DE345
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B