#7F862E#7F862E
#7F862E is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 59.6% C 0.111 H 113.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #7F862E |
|---|---|
| RGB | rgb(127, 134, 46) |
| HSL | hsl(65, 49%, 35%) |
| HSV | hsv(65, 66%, 53%) |
| CMYK | cmyk(5.2%, 0%, 65.7%, 47.5%) |
| CIE-LAB | lab(53.77, -14.83, 44.84) |
| CIE-LCH | lch(53.77, 47.22, 108.30°) |
| OKLab | oklab(59.64% -0.0445 0.1018) |
| OKLCH | oklch(59.64% 0.111 113.6) |
| XYZ | xyz(17.7711, 21.7598, 5.8481) |
| Luminance | 0.2176 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 4.24
Drab
#828344
ΔE00 4.33
Shit Green
#758000
ΔE00 4.33
Khaki Green
#728639
ΔE00 4.50
Olive
#808000
ΔE00 4.82
Poop Green
#6F7C00
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F862E #352E86
analogous
#86612E #7F862E #53862E
triadic
#7F862E #2E7F86 #862E7F
tetradic
#7F862E #2E8661 #352E86 #862E53
square
#7F862E #2E8661 #352E86 #862E53
split-complementary
#7F862E #2E5386 #612E86
monochromatic
#292B0F #54581E #7F862E #AAB43E #C2CA64
Accessibility & contrast
On white
3.92
#7F862E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#7F862E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F862E
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F862E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F862E | 1.00 | 3.92 | 5.35 | 5.35 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908023
Deuteranopia (green-blind)
#908134
Tritanopia (blue-blind)
#877E74
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #7f862e; /* rgb */ color: rgb(127, 134, 46); /* oklch */ color: oklch(59.6% 0.111 113.6);
Tailwind
colors: {
custom: {
50: '#a7a96b',
500: '#7f862e',
950: '#000000',
},
}SCSS
$custom: #7f862e; $custom-light: #a7a96b; $custom-dark: #000000;
JSON
{
"hex": "#7f862e",
"rgb": {
"r": 127,
"g": 134,
"b": 46
},
"hsl": {
"h": 64.773,
"s": 48.889,
"l": 35.294
},
"oklch": {
"l": 0.59637,
"c": 0.11106,
"h": 113.6
},
"luminance": 0.21759
}Semantic roles & 50–950 ramp
primary
#7F862E
secondary
#665FB1
accent
#4FD85A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F07
muted
#7F7F7A