#B9B43E#B9B43E
#B9B43E is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.2% C 0.137 H 106.9°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #B9B43E |
|---|---|
| RGB | rgb(185, 180, 62) |
| HSL | hsl(58, 50%, 48%) |
| HSV | hsv(58, 66%, 73%) |
| CMYK | cmyk(0%, 2.7%, 66.5%, 27.5%) |
| CIE-LAB | lab(71.76, -12.55, 58.29) |
| CIE-LCH | lch(71.76, 59.63, 102.15°) |
| OKLab | oklab(75.22% -0.0398 0.1311) |
| OKLCH | oklch(75.22% 0.137 106.9) |
| XYZ | xyz(37.1997, 43.3058, 10.9558) |
| Luminance | 0.4330 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 4.38
Puke Yellow
#C2BE0E
ΔE00 4.76
Mustard Green
#A8B504
ΔE00 5.14
Muddy Yellow
#BFAC05
ΔE00 5.38
Puke
#A5A502
ΔE00 5.45
Snot
#ACBB0D
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9B43E #3E43B9
analogous
#B9763E #B9B43E #80B93E
triadic
#B9B43E #3EB9B4 #B43EB9
tetradic
#B9B43E #3EB976 #3E43B9 #B93E80
square
#B9B43E #3EB976 #3E43B9 #B93E80
split-complementary
#B9B43E #3E80B9 #763EB9
monochromatic
#5D5B1F #8B872F #B9B43E #CCC868 #DCD996
Accessibility & contrast
On white
2.17
#B9B43E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.66
#B9B43E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9B43E
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9B43E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9B43E | 1.00 | 2.17 | 9.66 | 9.66 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AD2E
Deuteranopia (green-blind)
#C5B246
Tritanopia (blue-blind)
#C6A89C
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b9b43e; /* rgb */ color: rgb(185, 180, 62); /* oklch */ color: oklch(75.2% 0.137 106.9);
Tailwind
colors: {
custom: {
50: '#d1ca7a',
500: '#b9b43e',
950: '#000000',
},
}SCSS
$custom: #b9b43e; $custom-light: #d1ca7a; $custom-dark: #000000;
JSON
{
"hex": "#b9b43e",
"rgb": {
"r": 185,
"g": 180,
"b": 62
},
"hsl": {
"h": 57.561,
"s": 49.798,
"l": 48.431
},
"oklch": {
"l": 0.75225,
"c": 0.13701,
"h": 106.9
},
"luminance": 0.43305
}Semantic roles & 50–950 ramp
primary
#B9B43E
secondary
#8C8EC7
accent
#54D94E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C