#7C873E#7C873E
#7C873E is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 59.8% C 0.098 H 116.6°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #7C873E |
|---|---|
| RGB | rgb(124, 135, 62) |
| HSL | hsl(69, 37%, 39%) |
| HSV | hsv(69, 54%, 53%) |
| CMYK | cmyk(8.1%, 0%, 54.1%, 47.1%) |
| CIE-LAB | lab(53.99, -15.35, 37.41) |
| CIE-LCH | lch(53.99, 40.43, 112.31°) |
| OKLab | oklab(59.8% -0.044 0.088) |
| OKLCH | oklch(59.8% 0.098 116.6) |
| XYZ | xyz(17.8459, 21.9610, 7.8553) |
| Luminance | 0.2196 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki Green
#728639
ΔE00 2.57
Drab
#828344
ΔE00 3.29
Camo
#7F8F4E
ΔE00 3.61
Swamp
#698339
ΔE00 4.70
Dirty Green
#667E2C
ΔE00 5.61
Moss Green (survey)
#658B38
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C873E #493E87
analogous
#876D3E #7C873E #57873E
triadic
#7C873E #3E7C87 #873E7C
tetradic
#7C873E #3E876D #493E87 #873E57
square
#7C873E #3E876D #493E87 #873E57
split-complementary
#7C873E #3E5787 #6D3E87
monochromatic
#2F3317 #555D2B #7C873E #A2B052 #B8C37C
Accessibility & contrast
On white
3.89
#7C873E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.39
#7C873E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C873E
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C873E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C873E | 1.00 | 3.89 | 5.39 | 5.39 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F8137
Deuteranopia (green-blind)
#8E8242
Tritanopia (blue-blind)
#838077
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #7c873e; /* rgb */ color: rgb(124, 135, 62); /* oklch */ color: oklch(59.8% 0.098 116.6);
Tailwind
colors: {
custom: {
50: '#a3a975',
500: '#7c873e',
950: '#000000',
},
}SCSS
$custom: #7c873e; $custom-light: #a3a975; $custom-dark: #000000;
JSON
{
"hex": "#7c873e",
"rgb": {
"r": 124,
"g": 135,
"b": 62
},
"hsl": {
"h": 69.041,
"s": 37.056,
"l": 38.627
},
"oklch": {
"l": 0.598,
"c": 0.09842,
"h": 116.6
},
"luminance": 0.21961
}Semantic roles & 50–950 ramp
primary
#7C873E
secondary
#7C74AD
accent
#5BCD6C
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B