#787147#787147
#787147 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.4% C 0.060 H 99.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #787147 |
|---|---|
| RGB | rgb(120, 113, 71) |
| HSL | hsl(51, 26%, 37%) |
| HSV | hsv(51, 41%, 47%) |
| CMYK | cmyk(0%, 5.8%, 40.8%, 52.9%) |
| CIE-LAB | lab(47.31, -3.97, 24.29) |
| CIE-LCH | lch(47.31, 24.61, 99.29°) |
| OKLab | oklab(54.44% -0.0104 0.0595) |
| OKLCH | oklch(54.44% 0.06 99.9) |
| XYZ | xyz(14.7885, 16.2587, 8.3192) |
| Luminance | 0.1626 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 5.99
Olive Drab
#6F7632
ΔE00 7.14
Greyish Brown
#7A6A4F
ΔE00 7.19
Drab
#828344
ΔE00 8.12
Brownish Grey
#86775F
ΔE00 8.43
Dull Brown
#876E4B
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787147 #474E78
analogous
#785947 #787147 #667847
triadic
#787147 #477871 #714778
tetradic
#787147 #477859 #474E78 #784766
square
#787147 #477859 #474E78 #784766
split-complementary
#787147 #476678 #594778
monochromatic
#2B291A #524D30 #787147 #9E955E #B6AF83
Accessibility & contrast
On white
4.94
#787147 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#787147 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #787147
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##787147 | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796F44
Deuteranopia (green-blind)
#7B7149
Tritanopia (blue-blind)
#7F6B66
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #787147; /* rgb */ color: rgb(120, 113, 71); /* oklch */ color: oklch(54.4% 0.060 99.9);
Tailwind
colors: {
custom: {
50: '#a0997b',
500: '#787147',
950: '#000000',
},
}SCSS
$custom: #787147; $custom-light: #a0997b; $custom-dark: #000000;
JSON
{
"hex": "#787147",
"rgb": {
"r": 120,
"g": 113,
"b": 71
},
"hsl": {
"h": 51.429,
"s": 25.654,
"l": 37.451
},
"oklch": {
"l": 0.54442,
"c": 0.06045,
"h": 99.9
},
"luminance": 0.16258
}Semantic roles & 50–950 ramp
primary
#787147
secondary
#797FA2
accent
#73C266
background
#F9F9F7
surface
#F2F2ED
border
#CCCCC8
text
#0F0E09
muted
#7E7E7B