#B18F27#B18F27
#B18F27 is a light, vivid yellow. Relative luminance 0.291; OKLCH L 66.4% C 0.123 H 89.6°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #B18F27 |
|---|---|
| RGB | rgb(177, 143, 39) |
| HSL | hsl(45, 64%, 42%) |
| HSV | hsv(45, 78%, 69%) |
| CMYK | cmyk(0%, 19.2%, 78%, 30.6%) |
| CIE-LAB | lab(60.91, 2.47, 56.27) |
| CIE-LCH | lch(60.91, 56.32, 87.48°) |
| OKLab | oklab(66.39% 0.0008 0.1228) |
| OKLCH | oklch(66.39% 0.123 89.6) |
| XYZ | xyz(28.3218, 29.1404, 6.0520) |
| Luminance | 0.2914 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowy Brown
#AE8B0C
ΔE00 2.08
Baby Shit Brown
#AD900D
ΔE00 2.75
Dark Gold
#B59410
ΔE00 2.80
Dark Mustard
#A88905
ΔE00 3.08
Yellow Brown
#B79400
ΔE00 3.30
Baby Poo
#AB9004
ΔE00 3.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B18F27 #2749B1
analogous
#B14A27 #B18F27 #8EB127
triadic
#B18F27 #27B18F #8F27B1
tetradic
#B18F27 #27B14A #2749B1 #B1278E
square
#B18F27 #27B14A #2749B1 #B1278E
split-complementary
#B18F27 #278EB1 #4A27B1
monochromatic
#4D3E11 #7F661C #B18F27 #D5B040 #E0C572
Accessibility & contrast
On white
3.08
#B18F27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.83
#B18F27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B18F27
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B18F27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B18F27 | 1.00 | 3.08 | 6.83 | 6.83 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A08D13
Deuteranopia (green-blind)
#A8972D
Tritanopia (blue-blind)
#C0827B
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #b18f27; /* rgb */ color: rgb(177, 143, 39); /* oklch */ color: oklch(66.4% 0.123 89.6);
Tailwind
colors: {
custom: {
50: '#cdaf6a',
500: '#b18f27',
950: '#000000',
},
}SCSS
$custom: #b18f27; $custom-light: #cdaf6a; $custom-dark: #000000;
JSON
{
"hex": "#b18f27",
"rgb": {
"r": 177,
"g": 143,
"b": 39
},
"hsl": {
"h": 45.217,
"s": 63.889,
"l": 42.353
},
"oklch": {
"l": 0.66394,
"c": 0.12281,
"h": 89.6
},
"luminance": 0.29139
}Semantic roles & 50–950 ramp
primary
#B18F27
secondary
#6D83C7
accent
#6AE741
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141007
muted
#837F7A