#B9B13E#B9B13E
#B9B13E is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.6% C 0.134 H 105.3°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #B9B13E |
|---|---|
| RGB | rgb(185, 177, 62) |
| HSL | hsl(56, 50%, 48%) |
| HSV | hsv(56, 66%, 73%) |
| CMYK | cmyk(0%, 4.3%, 66.5%, 27.5%) |
| CIE-LAB | lab(70.95, -11.00, 57.45) |
| CIE-LCH | lch(70.95, 58.49, 100.84°) |
| OKLab | oklab(74.58% -0.0355 0.1293) |
| OKLCH | oklch(74.58% 0.134 105.3) |
| XYZ | xyz(36.6006, 42.1077, 10.7561) |
| Luminance | 0.4211 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 4.52
Muddy Yellow
#BFAC05
ΔE00 4.80
Puke
#A5A502
ΔE00 5.23
Puke Yellow
#C2BE0E
ΔE00 5.37
Vomit
#A2A415
ΔE00 5.40
Mustard Green
#A8B504
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9B13E #3E46B9
analogous
#B9733E #B9B13E #83B93E
triadic
#B9B13E #3EB9B1 #B13EB9
tetradic
#B9B13E #3EB973 #3E46B9 #B93E83
square
#B9B13E #3EB973 #3E46B9 #B93E83
split-complementary
#B9B13E #3E83B9 #733EB9
monochromatic
#5D591F #8B852F #B9B13E #CCC668 #DCD796
Accessibility & contrast
On white
2.23
#B9B13E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.42
#B9B13E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9B13E
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9B13E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9B13E | 1.00 | 2.23 | 9.42 | 9.42 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AB2E
Deuteranopia (green-blind)
#C3B045
Tritanopia (blue-blind)
#C6A59A
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #b9b13e; /* rgb */ color: rgb(185, 177, 62); /* oklch */ color: oklch(74.6% 0.134 105.3);
Tailwind
colors: {
custom: {
50: '#d1c879',
500: '#b9b13e',
950: '#000000',
},
}SCSS
$custom: #b9b13e; $custom-light: #d1c879; $custom-dark: #000000;
JSON
{
"hex": "#b9b13e",
"rgb": {
"r": 185,
"g": 177,
"b": 62
},
"hsl": {
"h": 56.098,
"s": 49.798,
"l": 48.431
},
"oklch": {
"l": 0.74575,
"c": 0.1341,
"h": 105.3
},
"luminance": 0.42106
}Semantic roles & 50–950 ramp
primary
#B9B13E
secondary
#8C8FC7
accent
#58D94E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B