#7C8E48
Closest named color: Camo (#7F8F4E). oklch(61.6% 0.098 121.2), rgb(124, 142, 72).
Aa
Black text reads best on this color (5.81:1).
About this color
#7C8E48 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 62%, its chroma 0.098 and its hue 121°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Camo (#7F8F4E), ΔE 0.009 away. Black text reads best on it, at 5.81:1.
| Hue family | Yellows |
| Lightness | medium-dark (62%) |
| Chroma | moderately saturated (0.098) |
| Temperature | in between |
| Nearest name | Camo (#7F8F4E) |
| Black text | 5.81:1 |
| White text | 3.60:1 |
Values
| HEX | #7C8E48 |
| RGB | rgb(124, 142, 72) |
| HSL | hsl(75, 33%, 42%) |
| OKLCH | oklch(61.6% 0.098 121.2) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #7C8E48 | 3.60:1 | AA large text | Lc -69.1 | Content text, not long reading |
| Black text on #7C8E48 | 5.81:1 | AA | Lc 40.4 | Non-text elements, placeholder text |
| #7C8E48 text on white | 3.60:1 | AA large text | Lc 63.6 | Content text, not long reading |
| #7C8E48 text on black | 5.81:1 | AA | Lc -38.0 | Non-text elements, placeholder text |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.
-
Step 50
50
#F5F6F1
oklch(97.1% 0.007 115.7)
-
Step 100
100
#E8EBE1
oklch(93.5% 0.014 120.3)
-
Step 200
200
#D6DCC9
oklch(88.5% 0.026 121.2)
-
Step 300
300
#BCC6A4
oklch(81% 0.048 120.8)
-
Step 400
400
#99A872
oklch(70.6% 0.076 121)
-
Step 500
500 (this color)
#7C8E48
oklch(61.6% 0.098 121.2)
-
Step 600
600
#6A7C2E
oklch(55.5% 0.106 120.9)
-
Step 700
700
#586921
oklch(49.1% 0.099 121.5)
-
Step 800
800
#48561D
oklch(42.8% 0.082 121.6)
-
Step 900
900
#3C471E
oklch(37.8% 0.064 122)
-
Step 950
950
#232912
oklch(26.8% 0.04 121.1)
#7C8E48 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #958742 | 0.039 |
| Deuteranopia (no green cones) | #93874C | 0.040 |
| Tritanopia (no blue cones) | #81887E | 0.081 |
| Achromatopsia (no color) | #878787 | 0.098 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7C8E48
#7C8E48
oklch(61.6% 0.098 121.2)
- #8F77B6
#8F77B6
oklch(61.6% 0.097 301.1)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #7C8E48, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Camo #7F8F4E ΔE 0.009
- Drab Green #749551 ΔE 0.020
- Khaki Green #728639 ΔE 0.030
- Moss #769958 ΔE 0.031
- Drab #828344 ΔE 0.031
- Moss Green #658B38 ΔE 0.038
- Olive Drab #6B8E23 ΔE 0.044
- Swamp #698339 ΔE 0.045
Use #7C8E48 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.