#B6B12E#B6B12E
#B6B12E is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.2% C 0.145 H 107.2°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #B6B12E |
|---|---|
| RGB | rgb(182, 177, 46) |
| HSL | hsl(58, 60%, 45%) |
| HSV | hsv(58, 75%, 71%) |
| CMYK | cmyk(0%, 2.7%, 74.7%, 28.6%) |
| CIE-LAB | lab(70.59, -13.11, 63.01) |
| CIE-LCH | lch(70.59, 64.36, 101.75°) |
| OKLab | oklab(74.19% -0.0428 0.1384) |
| OKLCH | oklch(74.19% 0.145 107.2) |
| XYZ | xyz(35.5081, 41.5879, 8.7411) |
| Luminance | 0.4159 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.63
Puke
#A5A502
ΔE00 4.17
Puke Yellow
#C2BE0E
ΔE00 4.38
Muddy Yellow
#BFAC05
ΔE00 4.42
Mustard Green
#A8B504
ΔE00 4.48
Vomit
#A2A415
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6B12E #2E33B6
analogous
#B66D2E #B6B12E #77B62E
triadic
#B6B12E #2EB6B1 #B12EB6
tetradic
#B6B12E #2EB66D #2E33B6 #B62E77
square
#B6B12E #2EB66D #2E33B6 #B62E77
split-complementary
#B6B12E #2E77B6 #6D2EB6
monochromatic
#545215 #858122 #B6B12E #D2CE4F #DFDB80
Accessibility & contrast
On white
2.25
#B6B12E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.32
#B6B12E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B6B12E
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6B12E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B6B12E | 1.00 | 2.25 | 9.32 | 9.32 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA11
Deuteranopia (green-blind)
#C3AF38
Tritanopia (blue-blind)
#C3A598
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #b6b12e; /* rgb */ color: rgb(182, 177, 46); /* oklch */ color: oklch(74.2% 0.145 107.2);
Tailwind
colors: {
custom: {
50: '#d0c871',
500: '#b6b12e',
950: '#000000',
},
}SCSS
$custom: #b6b12e; $custom-light: #d0c871; $custom-dark: #000000;
JSON
{
"hex": "#b6b12e",
"rgb": {
"r": 182,
"g": 177,
"b": 46
},
"hsl": {
"h": 57.794,
"s": 59.649,
"l": 44.706
},
"oklch": {
"l": 0.74193,
"c": 0.14483,
"h": 107.2
},
"luminance": 0.41587
}Semantic roles & 50–950 ramp
primary
#B6B12E
secondary
#787BC8
accent
#4BE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B