#B9B261#B9B261
#B9B261 is a light, moderate yellow. Relative luminance 0.430; OKLCH L 75.2% C 0.104 H 104.2°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #B9B261 |
|---|---|
| RGB | rgb(185, 178, 97) |
| HSL | hsl(55, 39%, 55%) |
| HSV | hsv(55, 48%, 73%) |
| CMYK | cmyk(0%, 3.8%, 47.6%, 27.5%) |
| CIE-LAB | lab(71.57, -8.83, 42.02) |
| CIE-LCH | lch(71.57, 42.94, 101.86°) |
| OKLab | oklab(75.18% -0.0254 0.1004) |
| OKLCH | oklch(75.18% 0.104 104.2) |
| XYZ | xyz(38.0866, 43.0193, 17.6042) |
| Luminance | 0.4302 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 1.69
Khaki (survey)
#AAA662
ΔE00 4.26
Sand
#C2B280
ΔE00 7.01
Light Olive
#ACBF69
ΔE00 7.22
Desert
#CCAD60
ΔE00 7.45
Tan Green
#A9BE70
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9B261 #6168B9
analogous
#B98661 #B9B261 #94B961
triadic
#B9B261 #61B9B2 #B261B9
tetradic
#B9B261 #61B986 #6168B9 #B96194
square
#B9B261 #61B986 #6168B9 #B96194
split-complementary
#B9B261 #6194B9 #8661B9
monochromatic
#6F6A31 #999244 #B9B261 #CCC78B #DFDBB6
Accessibility & contrast
On white
2.19
#B9B261 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.60
#B9B261 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9B261
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9B261 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9B261 | 1.00 | 2.19 | 9.60 | 9.60 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAD5A
Deuteranopia (green-blind)
#C1B165
Tritanopia (blue-blind)
#C4A89F
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #b9b261; /* rgb */ color: rgb(185, 178, 97); /* oklch */ color: oklch(75.2% 0.104 104.2);
Tailwind
colors: {
custom: {
50: '#d0c890',
500: '#b9b261',
950: '#000000',
},
}SCSS
$custom: #b9b261; $custom-light: #d0c890; $custom-dark: #000000;
JSON
{
"hex": "#b9b261",
"rgb": {
"r": 185,
"g": 178,
"b": 97
},
"hsl": {
"h": 55.227,
"s": 38.596,
"l": 55.294
},
"oklch": {
"l": 0.75183,
"c": 0.10352,
"h": 104.2
},
"luminance": 0.43018
}Semantic roles & 50–950 ramp
primary
#B9B261
secondary
#A9ABCD
accent
#63CF59
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130C
muted
#82827D