#7D862E#7D862E
#7D862E is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.5% C 0.112 H 114.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7D862E |
|---|---|
| RGB | rgb(125, 134, 46) |
| HSL | hsl(66, 49%, 35%) |
| HSV | hsv(66, 66%, 53%) |
| CMYK | cmyk(6.7%, 0%, 65.7%, 47.5%) |
| CIE-LAB | lab(53.61, -15.72, 44.61) |
| CIE-LCH | lch(53.61, 47.30, 109.41°) |
| OKLab | oklab(59.47% -0.0468 0.1013) |
| OKLCH | oklch(59.47% 0.112 114.8) |
| XYZ | xyz(17.4761, 21.6077, 5.8343) |
| Luminance | 0.2161 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki Green
#728639
ΔE00 3.97
Swamp Green
#748500
ΔE00 4.05
Shit Green
#758000
ΔE00 4.28
Drab
#828344
ΔE00 4.47
Olive
#808000
ΔE00 5.15
Poop Green
#6F7C00
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D862E #372E86
analogous
#86632E #7D862E #51862E
triadic
#7D862E #2E7D86 #862E7D
tetradic
#7D862E #2E8663 #372E86 #862E51
square
#7D862E #2E8663 #372E86 #862E51
split-complementary
#7D862E #2E5186 #632E86
monochromatic
#282B0F #52581E #7D862E #A8B43E #C0CA64
Accessibility & contrast
On white
3.95
#7D862E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#7D862E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D862E
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D862E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D862E | 1.00 | 3.95 | 5.32 | 5.32 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F23
Deuteranopia (green-blind)
#8F8134
Tritanopia (blue-blind)
#857E74
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #7d862e; /* rgb */ color: rgb(125, 134, 46); /* oklch */ color: oklch(59.5% 0.112 114.8);
Tailwind
colors: {
custom: {
50: '#a5a96b',
500: '#7d862e',
950: '#000000',
},
}SCSS
$custom: #7d862e; $custom-light: #a5a96b; $custom-dark: #000000;
JSON
{
"hex": "#7d862e",
"rgb": {
"r": 125,
"g": 134,
"b": 46
},
"hsl": {
"h": 66.136,
"s": 48.889,
"l": 35.294
},
"oklch": {
"l": 0.59466,
"c": 0.11165,
"h": 114.8
},
"luminance": 0.21607
}Semantic roles & 50–950 ramp
primary
#7D862E
secondary
#675FB1
accent
#4FD85D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F07
muted
#7F7F7A