#798F52
Closest named color: Camo (#7F8F4E). oklch(61.8% 0.089 125.1), rgb(121, 143, 82).
Aa
Black text reads best on this color (5.86:1).
About this color
#798F52 is a medium-dark, moderately saturated green. In OKLCH its lightness is 62%, its chroma 0.089 and its hue 125°. 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.86:1.
| Hue family | Greens |
| Lightness | medium-dark (62%) |
| Chroma | moderately saturated (0.089) |
| Temperature | in between |
| Nearest name | Camo (#7F8F4E) |
| Black text | 5.86:1 |
| White text | 3.58:1 |
Values
| HEX | #798F52 |
| RGB | rgb(121, 143, 82) |
| HSL | hsl(82, 27%, 44%) |
| OKLCH | oklch(61.8% 0.089 125.1) |
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 #798F52 | 3.58:1 | AA large text | Lc -68.9 | Content text, not long reading |
| Black text on #798F52 | 5.86:1 | AA | Lc 40.7 | Non-text elements, placeholder text |
| #798F52 text on white | 3.58:1 | AA large text | Lc 63.4 | Content text, not long reading |
| #798F52 text on black | 5.86:1 | AA | Lc -38.3 | 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
#F4F6F2
oklch(97.1% 0.006 128.5)
-
Step 100
100
#E8EBE2
oklch(93.5% 0.012 121.7)
-
Step 200
200
#D5DCCB
oklch(88.4% 0.024 125.2)
-
Step 300
300
#BAC6A8
oklch(80.9% 0.043 125.1)
-
Step 400
400
#96A979
oklch(70.8% 0.07 125.7)
-
Step 500
500 (this color)
#798F52
oklch(61.8% 0.089 125.1)
-
Step 600
600
#667D3A
oklch(55.6% 0.097 125.1)
-
Step 700
700
#55692C
oklch(49% 0.09 124.7)
-
Step 800
800
#455626
oklch(42.7% 0.075 125.6)
-
Step 900
900
#3A4723
oklch(37.7% 0.059 125.4)
-
Step 950
950
#222A15
oklch(27.1% 0.038 125.8)
#798F52 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) | #95884D | 0.042 |
| Deuteranopia (no green cones) | #928755 | 0.043 |
| Tritanopia (no blue cones) | #7D8A80 | 0.071 |
| Achromatopsia (no color) | #878787 | 0.089 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #798F52
#798F52
oklch(61.8% 0.089 125.1)
- #9278B1
#9278B1
oklch(61.9% 0.089 304.8)
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 #798F52, 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.019
- Moss #769958 ΔE 0.027
- Drab #828344 ΔE 0.033
- Khaki Green #728639 ΔE 0.035
- Green Grey #77926F ΔE 0.036
- Slate Green #658D6D ΔE 0.043
- Moss Green #658B38 ΔE 0.043
Use #798F52 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.