#B6AF3D#B6AF3D
#B6AF3D is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.9% C 0.133 H 105.8°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #B6AF3D |
|---|---|
| RGB | rgb(182, 175, 61) |
| HSL | hsl(57, 50%, 48%) |
| HSV | hsv(57, 66%, 71%) |
| CMYK | cmyk(0%, 3.8%, 66.5%, 28.6%) |
| CIE-LAB | lab(70.14, -11.31, 56.95) |
| CIE-LCH | lch(70.14, 58.06, 101.24°) |
| OKLab | oklab(73.87% -0.0363 0.1282) |
| OKLCH | oklch(73.87% 0.133 105.8) |
| XYZ | xyz(35.4650, 40.9432, 10.4487) |
| Luminance | 0.4094 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 4.76
Vomit
#A2A415
ΔE00 4.84
Olive Yellow
#C2B709
ΔE00 4.95
Muddy Yellow
#BFAC05
ΔE00 5.00
Mustard Green
#A8B504
ΔE00 5.74
Puke Yellow
#C2BE0E
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6AF3D #3D44B6
analogous
#B6733D #B6AF3D #80B63D
triadic
#B6AF3D #3DB6AF #AF3DB6
tetradic
#B6AF3D #3DB673 #3D44B6 #B63D80
square
#B6AF3D #3DB673 #3D44B6 #B63D80
split-complementary
#B6AF3D #3D80B6 #733DB6
monochromatic
#5A571E #88832E #B6AF3D #CBC565 #DBD793
Accessibility & contrast
On white
2.29
#B6AF3D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.19
#B6AF3D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B6AF3D
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6AF3D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B6AF3D | 1.00 | 2.29 | 9.19 | 9.19 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA92D
Deuteranopia (green-blind)
#C0AE44
Tritanopia (blue-blind)
#C3A498
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b6af3d; /* rgb */ color: rgb(182, 175, 61); /* oklch */ color: oklch(73.9% 0.133 105.8);
Tailwind
colors: {
custom: {
50: '#cfc679',
500: '#b6af3d',
950: '#000000',
},
}SCSS
$custom: #b6af3d; $custom-light: #cfc679; $custom-dark: #000000;
JSON
{
"hex": "#b6af3d",
"rgb": {
"r": 182,
"g": 175,
"b": 61
},
"hsl": {
"h": 56.529,
"s": 49.794,
"l": 47.647
},
"oklch": {
"l": 0.73866,
"c": 0.13322,
"h": 105.8
},
"luminance": 0.40942
}Semantic roles & 50–950 ramp
primary
#B6AF3D
secondary
#898CC6
accent
#57D94E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B