#B18F26#B18F26
#B18F26 is a light, vivid yellow. Relative luminance 0.291; OKLCH L 66.4% C 0.123 H 89.7°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #B18F26 |
|---|---|
| RGB | rgb(177, 143, 38) |
| HSL | hsl(45, 65%, 42%) |
| HSV | hsv(45, 79%, 69%) |
| CMYK | cmyk(0%, 19.2%, 78.5%, 30.6%) |
| CIE-LAB | lab(60.90, 2.43, 56.62) |
| CIE-LCH | lch(60.90, 56.67, 87.54°) |
| OKLab | oklab(66.39% 0.0006 0.1234) |
| OKLCH | oklch(66.39% 0.123 89.7) |
| XYZ | xyz(28.3055, 29.1338, 5.9659) |
| Luminance | 0.2913 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowy Brown
#AE8B0C
ΔE00 2.00
Baby Shit Brown
#AD900D
ΔE00 2.66
Dark Gold
#B59410
ΔE00 2.71
Dark Mustard
#A88905
ΔE00 3.01
Yellow Brown
#B79400
ΔE00 3.21
Baby Poo
#AB9004
ΔE00 3.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B18F26 #2648B1
analogous
#B14A26 #B18F26 #8DB126
triadic
#B18F26 #26B18F #8F26B1
tetradic
#B18F26 #26B14A #2648B1 #B1268D
square
#B18F26 #26B14A #2648B1 #B1268D
split-complementary
#B18F26 #268DB1 #4A26B1
monochromatic
#4C3E10 #7F661B #B18F26 #D6B13F #E0C571
Accessibility & contrast
On white
3.08
#B18F26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.83
#B18F26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B18F26
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B18F26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B18F26 | 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)
#A08D11
Deuteranopia (green-blind)
#A8972C
Tritanopia (blue-blind)
#C0827B
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #b18f26; /* rgb */ color: rgb(177, 143, 38); /* oklch */ color: oklch(66.4% 0.123 89.7);
Tailwind
colors: {
custom: {
50: '#cdaf69',
500: '#b18f26',
950: '#000000',
},
}SCSS
$custom: #b18f26; $custom-light: #cdaf69; $custom-dark: #000000;
JSON
{
"hex": "#b18f26",
"rgb": {
"r": 177,
"g": 143,
"b": 38
},
"hsl": {
"h": 45.324,
"s": 64.651,
"l": 42.157
},
"oklch": {
"l": 0.66388,
"c": 0.12335,
"h": 89.7
},
"luminance": 0.29132
}Semantic roles & 50–950 ramp
primary
#B18F26
secondary
#6B82C7
accent
#69E840
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141007
muted
#837F7A