#7C882F#7C882F
#7C882F is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 59.9% C 0.114 H 116.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #7C882F |
|---|---|
| RGB | rgb(124, 136, 47) |
| HSL | hsl(68, 49%, 36%) |
| HSV | hsv(68, 65%, 53%) |
| CMYK | cmyk(8.8%, 0%, 65.4%, 46.7%) |
| CIE-LAB | lab(54.13, -17.14, 44.70) |
| CIE-LCH | lch(54.13, 47.88, 110.98°) |
| OKLab | oklab(59.87% -0.0507 0.1017) |
| OKLCH | oklch(59.87% 0.114 116.5) |
| XYZ | xyz(17.6298, 22.0989, 6.0255) |
| Luminance | 0.2210 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki Green
#728639
ΔE00 3.51
Swamp Green
#748500
ΔE00 4.03
Shit Green
#758000
ΔE00 4.71
Drab
#828344
ΔE00 4.96
Dark Yellow Green
#728F02
ΔE00 5.20
Olivedrab
#6B8E23
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C882F #3B2F88
analogous
#88672F #7C882F #4F882F
triadic
#7C882F #2F7C88 #882F7C
tetradic
#7C882F #2F8867 #3B2F88 #882F4F
square
#7C882F #2F8867 #3B2F88 #882F4F
split-complementary
#7C882F #2F4F88 #672F88
monochromatic
#292D10 #535B1F #7C882F #A5B53F #BDCA67
Accessibility & contrast
On white
3.87
#7C882F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#7C882F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C882F
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C882F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C882F | 1.00 | 3.87 | 5.42 | 5.42 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918124
Deuteranopia (green-blind)
#908235
Tritanopia (blue-blind)
#848076
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #7c882f; /* rgb */ color: rgb(124, 136, 47); /* oklch */ color: oklch(59.9% 0.114 116.5);
Tailwind
colors: {
custom: {
50: '#a4aa6c',
500: '#7c882f',
950: '#000000',
},
}SCSS
$custom: #7c882f; $custom-light: #a4aa6c; $custom-dark: #000000;
JSON
{
"hex": "#7c882f",
"rgb": {
"r": 124,
"g": 136,
"b": 47
},
"hsl": {
"h": 68.09,
"s": 48.634,
"l": 35.882
},
"oklch": {
"l": 0.59868,
"c": 0.11363,
"h": 116.5
},
"luminance": 0.22099
}Semantic roles & 50–950 ramp
primary
#7C882F
secondary
#6C61B1
accent
#50D862
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A