#B6B827#B6B827
#B6B827 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.7% C 0.155 H 110.4°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #B6B827 |
|---|---|
| RGB | rgb(182, 184, 39) |
| HSL | hsl(61, 65%, 44%) |
| HSV | hsv(61, 79%, 72%) |
| CMYK | cmyk(1.1%, 0%, 78.8%, 27.8%) |
| CIE-LAB | lab(72.48, -16.95, 66.92) |
| CIE-LCH | lch(72.48, 69.03, 104.21°) |
| OKLab | oklab(75.69% -0.0541 0.1454) |
| OKLCH | oklch(75.69% 0.155 110.4) |
| XYZ | xyz(36.7995, 44.3736, 8.5456) |
| Luminance | 0.4437 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.93
Snot
#ACBB0D
ΔE00 2.97
Puke Yellow
#C2BE0E
ΔE00 3.09
Bile
#B5C306
ΔE00 3.79
Olive Yellow
#C2B709
ΔE00 3.79
Baby Puke Green
#B6C406
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6B827 #2927B8
analogous
#B87127 #B6B827 #6DB827
triadic
#B6B827 #27B6B8 #B827B6
tetradic
#B6B827 #27B871 #2927B8 #B8276D
square
#B6B827 #27B871 #2927B8 #B8276D
split-complementary
#B6B827 #276DB8 #7127B8
monochromatic
#525312 #84861C #B6B827 #D5D845 #E1E277
Accessibility & contrast
On white
2.13
#B6B827 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.87
#B6B827 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B6B827
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6B827 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B6B827 | 1.00 | 2.13 | 9.87 | 9.87 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C8B434
Tritanopia (blue-blind)
#C3AC9E
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b6b827; /* rgb */ color: rgb(182, 184, 39); /* oklch */ color: oklch(75.7% 0.155 110.4);
Tailwind
colors: {
custom: {
50: '#d0cd6f',
500: '#b6b827',
950: '#000000',
},
}SCSS
$custom: #b6b827; $custom-light: #d0cd6f; $custom-dark: #000000;
JSON
{
"hex": "#b6b827",
"rgb": {
"r": 182,
"g": 184,
"b": 39
},
"hsl": {
"h": 60.828,
"s": 65.022,
"l": 43.725
},
"oklch": {
"l": 0.75693,
"c": 0.15515,
"h": 110.4
},
"luminance": 0.44373
}Semantic roles & 50–950 ramp
primary
#B6B827
secondary
#7271CA
accent
#40E842
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B