#7F9048
Closest named color: Camo (#7F8F4E). oklch(62.3% 0.099 120.3), rgb(127, 144, 72).
Aa
Black text reads best on this color (5.98:1).
About this color
#7F9048 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 62%, its chroma 0.099 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Camo (#7F8F4E), ΔE 0.008 away. Black text reads best on it, at 5.98:1.
| Hue family | Yellows |
| Lightness | medium-light (62%) |
| Chroma | moderately saturated (0.099) |
| Temperature | in between |
| Nearest name | Camo (#7F8F4E) |
| Black text | 5.98:1 |
| White text | 3.50:1 |
Values
| HEX | #7F9048 |
| RGB | rgb(127, 144, 72) |
| HSL | hsl(74, 33%, 42%) |
| OKLCH | oklch(62.3% 0.099 120.3) |
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 #7F9048 | 3.50:1 | AA large text | Lc -68.1 | Content text, not long reading |
| Black text on #7F9048 | 5.98:1 | AA | Lc 41.5 | Non-text elements, placeholder text |
| #7F9048 text on white | 3.50:1 | AA large text | Lc 62.6 | Content text, not long reading |
| #7F9048 text on black | 5.98:1 | AA | Lc -39.1 | 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
#BCC6A3
oklch(80.9% 0.049 120.5)
-
Step 400
400
#9AA871
oklch(70.7% 0.077 120)
-
Step 500
500 (this color)
#7F9048
oklch(62.3% 0.099 120.3)
-
Step 600
600
#6B7C2B
oklch(55.5% 0.108 120.1)
-
Step 700
700
#59691E
oklch(49.2% 0.101 120.6)
-
Step 800
800
#49551B
oklch(42.6% 0.082 120)
-
Step 900
900
#3D471C
oklch(37.8% 0.066 120.5)
-
Step 950
950
#242912
oklch(26.9% 0.039 119.2)
#7F9048 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) | #988942 | 0.039 |
| Deuteranopia (no green cones) | #96894C | 0.040 |
| Tritanopia (no blue cones) | #858A7F | 0.082 |
| Achromatopsia (no color) | #898989 | 0.100 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F9048
#7F9048
oklch(62.3% 0.099 120.3)
- #9179BA
#9179BA
oklch(62.4% 0.099 300.5)
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 #7F9048, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Camo #7F8F4E ΔE 0.008
- Drab Green #749551 ΔE 0.018
- Moss #769958 ΔE 0.026
- Drab #828344 ΔE 0.036
- Khaki Green #728639 ΔE 0.037
- Flat Green #699D4C ΔE 0.043
- Moss Green #658B38 ΔE 0.043
- Olive Drab #6B8E23 ΔE 0.046
Use #7F9048 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.