#BB9727#BB9727
#BB9727 is a light, vivid yellow. Relative luminance 0.328; OKLCH L 69.1% C 0.129 H 89.7°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #BB9727 |
|---|---|
| RGB | rgb(187, 151, 39) |
| HSL | hsl(45, 65%, 44%) |
| HSV | hsv(45, 79%, 73%) |
| CMYK | cmyk(0%, 19.3%, 79.1%, 26.7%) |
| CIE-LAB | lab(64.04, 2.59, 59.52) |
| CIE-LCH | lch(64.04, 59.58, 87.51°) |
| OKLab | oklab(69.1% 0.0006 0.1293) |
| OKLCH | oklch(69.1% 0.129 89.7) |
| XYZ | xyz(31.9283, 32.8466, 6.5774) |
| Luminance | 0.3284 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Gold
#B59410
ΔE00 2.11
Yellow Brown
#B79400
ΔE00 2.34
Ocher
#BF9B0C
ΔE00 2.48
Ocre
#C69C04
ΔE00 3.27
Ochre
#BF9005
ΔE00 3.56
Brown Yellow
#B29705
ΔE00 3.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB9727 #274BBB
analogous
#BB4D27 #BB9727 #95BB27
triadic
#BB9727 #27BB97 #9727BB
tetradic
#BB9727 #27BB4D #274BBB #BB2795
square
#BB9727 #27BB4D #274BBB #BB2795
split-complementary
#BB9727 #2795BB #4D27BB
monochromatic
#564512 #886E1C #BB9727 #D9B547 #E3C979
Accessibility & contrast
On white
2.77
#BB9727 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.57
#BB9727 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BB9727
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB9727 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BB9727 | 1.00 | 2.77 | 7.57 | 7.57 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A9950E
Deuteranopia (green-blind)
#B29F2E
Tritanopia (blue-blind)
#CB8982
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #bb9727; /* rgb */ color: rgb(187, 151, 39); /* oklch */ color: oklch(69.1% 0.129 89.7);
Tailwind
colors: {
custom: {
50: '#d4b56b',
500: '#bb9727',
950: '#000000',
},
}SCSS
$custom: #bb9727; $custom-light: #d4b56b; $custom-dark: #000000;
JSON
{
"hex": "#bb9727",
"rgb": {
"r": 187,
"g": 151,
"b": 39
},
"hsl": {
"h": 45.405,
"s": 65.487,
"l": 44.314
},
"oklch": {
"l": 0.69098,
"c": 0.12928,
"h": 89.7
},
"luminance": 0.32844
}Semantic roles & 50–950 ramp
primary
#BB9727
secondary
#7388CB
accent
#68E83F
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A