#7F8F4E
Named color: Camo. oklch(62.2% 0.091 120.5), rgb(127, 143, 78).
Aa
Black text reads best on this color (5.94:1).
About this color
#7F8F4E is a medium-light, moderately saturated yellow. In OKLCH its lightness is 62%, its chroma 0.091 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. It is the named color Camo. Black text reads best on it, at 5.94:1.
| Hue family | Yellows |
| Lightness | medium-light (62%) |
| Chroma | moderately saturated (0.091) |
| Temperature | in between |
| Nearest name | Camo |
| Black text | 5.94:1 |
| White text | 3.53:1 |
Values
| HEX | #7F8F4E |
| RGB | rgb(127, 143, 78) |
| HSL | hsl(75, 29%, 43%) |
| OKLCH | oklch(62.2% 0.091 120.5) |
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 #7F8F4E | 3.53:1 | AA large text | Lc -68.4 | Content text, not long reading |
| Black text on #7F8F4E | 5.94:1 | AA | Lc 41.2 | Non-text elements, placeholder text |
| #7F8F4E text on white | 3.53:1 | AA large text | Lc 62.9 | Content text, not long reading |
| #7F8F4E text on black | 5.94:1 | AA | Lc -38.8 | 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
#F5F6F2
oklch(97.1% 0.005 117.9)
-
Step 100
100
#E8EBE2
oklch(93.5% 0.012 121.7)
-
Step 200
200
#D7DCCA
oklch(88.6% 0.025 119.5)
-
Step 300
300
#BCC5A6
oklch(80.8% 0.043 120.5)
-
Step 400
400
#9AA875
oklch(70.8% 0.072 120.7)
-
Step 500
500 (this color)
#7F8F4E
oklch(62.2% 0.091 120.5)
-
Step 600
600
#6B7C34
oklch(55.6% 0.1 120.8)
-
Step 700
700
#5A6826
oklch(49.1% 0.092 120)
-
Step 800
800
#495521
oklch(42.7% 0.077 120.6)
-
Step 900
900
#3D4620
oklch(37.6% 0.06 120.3)
-
Step 950
950
#242914
oklch(27% 0.037 119.9)
#7F8F4E 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) | #968849 | 0.036 |
| Deuteranopia (no green cones) | #948851 | 0.037 |
| Tritanopia (no blue cones) | #848980 | 0.077 |
| Achromatopsia (no color) | #888888 | 0.091 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F8F4E
#7F8F4E
oklch(62.2% 0.091 120.5)
- #8F7AB5
#8F7AB5
oklch(62.2% 0.09 300.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 #7F8F4E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Drab Green #749551 ΔE 0.020
- Moss #769958 ΔE 0.028
- Drab #828344 ΔE 0.032
- Khaki Green #728639 ΔE 0.038
- Green Grey #77926F ΔE 0.040
- Moss Green #658B38 ΔE 0.046
- Flat Green #699D4C ΔE 0.048
- Slate Green #658D6D ΔE 0.050
Use #7F8F4E 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.