#8B751F#8B751F
#8B751F is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.8% C 0.105 H 94.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #8B751F |
|---|---|
| RGB | rgb(139, 117, 31) |
| HSL | hsl(48, 64%, 33%) |
| HSV | hsv(48, 78%, 55%) |
| CMYK | cmyk(0%, 15.8%, 77.7%, 45.5%) |
| CIE-LAB | lab(49.87, -0.80, 47.52) |
| CIE-LCH | lch(49.87, 47.53, 90.97°) |
| OKLab | oklab(56.76% -0.0072 0.1043) |
| OKLCH | oklch(56.76% 0.105 94) |
| XYZ | xyz(17.2570, 18.3115, 3.9216) |
| Luminance | 0.1831 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.18
Poo
#8F7303
ΔE00 2.75
Puke Brown
#947706
ΔE00 3.30
Baby Poop
#937C00
ΔE00 4.11
Ugly Brown
#7D7103
ΔE00 4.52
Yellowish Brown
#9B7A01
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B751F #1F358B
analogous
#8B3F1F #8B751F #6B8B1F
triadic
#8B751F #1F8B75 #751F8B
tetradic
#8B751F #1F8B3F #1F358B #8B1F6B
square
#8B751F #1F8B3F #1F358B #8B1F6B
split-complementary
#8B751F #1F6B8B #3F1F8B
monochromatic
#272109 #594B14 #8B751F #BD9F2A #D7BB4D
Accessibility & contrast
On white
4.50
#8B751F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#8B751F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B751F
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B751F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B751F | 1.00 | 4.50 | 4.66 | 4.66 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82730F
Deuteranopia (green-blind)
#887924
Tritanopia (blue-blind)
#976B64
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #8b751f; /* rgb */ color: rgb(139, 117, 31); /* oklch */ color: oklch(56.8% 0.105 94.0);
Tailwind
colors: {
custom: {
50: '#b19c62',
500: '#8b751f',
950: '#000000',
},
}SCSS
$custom: #8b751f; $custom-light: #b19c62; $custom-dark: #000000;
JSON
{
"hex": "#8b751f",
"rgb": {
"r": 139,
"g": 117,
"b": 31
},
"hsl": {
"h": 47.778,
"s": 63.529,
"l": 33.333
},
"oklch": {
"l": 0.56764,
"c": 0.10451,
"h": 94
},
"luminance": 0.1831
}Semantic roles & 50–950 ramp
primary
#8B751F
secondary
#4C62BA
accent
#63E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A