#78812E#78812E
#78812E is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 57.8% C 0.107 H 115.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #78812E |
|---|---|
| RGB | rgb(120, 129, 46) |
| HSL | hsl(67, 47%, 34%) |
| HSV | hsv(67, 64%, 51%) |
| CMYK | cmyk(7%, 0%, 64.3%, 49.4%) |
| CIE-LAB | lab(51.71, -15.28, 42.48) |
| CIE-LCH | lch(51.71, 45.14, 109.78°) |
| OKLab | oklab(57.85% -0.0453 0.097) |
| OKLCH | oklch(57.85% 0.107 115) |
| XYZ | xyz(16.0895, 19.8911, 5.5760) |
| Luminance | 0.1989 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki Green
#728639
ΔE00 3.67
Shit Green
#758000
ΔE00 4.18
Drab
#828344
ΔE00 4.20
Murky Green
#6C7A0E
ΔE00 4.25
Poop Green
#6F7C00
ΔE00 4.43
Swamp Green
#748500
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#78812E #372E81
analogous
#81612E #78812E #4F812E
triadic
#78812E #2E7881 #812E78
tetradic
#78812E #2E8161 #372E81 #812E4F
square
#78812E #2E8161 #372E81 #812E4F
split-complementary
#78812E #2E4F81 #612E81
monochromatic
#24270E #4E541E #78812E #A2AE3E #BCC762
Accessibility & contrast
On white
4.22
#78812E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#78812E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #78812E
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##78812E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##78812E | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7B24
Deuteranopia (green-blind)
#897C33
Tritanopia (blue-blind)
#807A70
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #78812e; /* rgb */ color: rgb(120, 129, 46); /* oklch */ color: oklch(57.8% 0.107 115.0);
Tailwind
colors: {
custom: {
50: '#a1a56b',
500: '#78812e',
950: '#000000',
},
}SCSS
$custom: #78812e; $custom-light: #a1a56b; $custom-dark: #000000;
JSON
{
"hex": "#78812e",
"rgb": {
"r": 120,
"g": 129,
"b": 46
},
"hsl": {
"h": 66.506,
"s": 47.429,
"l": 34.314
},
"oklch": {
"l": 0.57847,
"c": 0.10702,
"h": 115
},
"luminance": 0.19891
}Semantic roles & 50–950 ramp
primary
#78812E
secondary
#665DAE
accent
#51D75F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A