#B9B13D#B9B13D
#B9B13D is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.6% C 0.135 H 105.4°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #B9B13D |
|---|---|
| RGB | rgb(185, 177, 61) |
| HSL | hsl(56, 50%, 48%) |
| HSV | hsv(56, 67%, 73%) |
| CMYK | cmyk(0%, 4.3%, 67%, 27.5%) |
| CIE-LAB | lab(70.94, -11.06, 57.85) |
| CIE-LCH | lch(70.94, 58.90, 100.82°) |
| OKLab | oklab(74.57% -0.0357 0.13) |
| OKLCH | oklch(74.57% 0.135 105.4) |
| XYZ | xyz(36.5734, 42.0968, 10.6129) |
| Luminance | 0.4209 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 4.42
Muddy Yellow
#BFAC05
ΔE00 4.72
Puke
#A5A502
ΔE00 5.17
Puke Yellow
#C2BE0E
ΔE00 5.29
Vomit
#A2A415
ΔE00 5.36
Mustard Green
#A8B504
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9B13D #3D45B9
analogous
#B9733D #B9B13D #83B93D
triadic
#B9B13D #3DB9B1 #B13DB9
tetradic
#B9B13D #3DB973 #3D45B9 #B93D83
square
#B9B13D #3DB973 #3D45B9 #B93D83
split-complementary
#B9B13D #3D83B9 #733DB9
monochromatic
#5D591F #8B852E #B9B13D #CDC666 #DCD795
Accessibility & contrast
On white
2.23
#B9B13D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.42
#B9B13D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9B13D
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9B13D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9B13D | 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)
#C0AB2D
Deuteranopia (green-blind)
#C3B044
Tritanopia (blue-blind)
#C6A599
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #b9b13d; /* rgb */ color: rgb(185, 177, 61); /* oklch */ color: oklch(74.6% 0.135 105.4);
Tailwind
colors: {
custom: {
50: '#d1c879',
500: '#b9b13d',
950: '#000000',
},
}SCSS
$custom: #b9b13d; $custom-light: #d1c879; $custom-dark: #000000;
JSON
{
"hex": "#b9b13d",
"rgb": {
"r": 185,
"g": 177,
"b": 61
},
"hsl": {
"h": 56.129,
"s": 50.407,
"l": 48.235
},
"oklch": {
"l": 0.74566,
"c": 0.13482,
"h": 105.4
},
"luminance": 0.42095
}Semantic roles & 50–950 ramp
primary
#B9B13D
secondary
#8B8EC7
accent
#57DA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B