#7F9237
Closest named color: Drab Green (#749551). oklch(62.6% 0.119 119.9), rgb(127, 146, 55).
Aa
Black text reads best on this color (6.06:1).
About this color
#7F9237 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 63%, its chroma 0.119 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Drab Green (#749551), ΔE 0.026 away. Black text reads best on it, at 6.06:1.
| Hue family | Yellows |
| Lightness | medium-light (63%) |
| Chroma | moderately saturated (0.119) |
| Temperature | in between |
| Nearest name | Drab Green (#749551) |
| Black text | 6.06:1 |
| White text | 3.46:1 |
Values
| HEX | #7F9237 |
| RGB | rgb(127, 146, 55) |
| HSL | hsl(73, 45%, 39%) |
| OKLCH | oklch(62.6% 0.119 119.9) |
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 #7F9237 | 3.46:1 | AA large text | Lc -67.5 | Content text, not long reading |
| Black text on #7F9237 | 6.06:1 | AA | Lc 42.0 | Non-text elements, placeholder text |
| #7F9237 text on white | 3.46:1 | AA large text | Lc 62.1 | Content text, not long reading |
| #7F9237 text on black | 6.06:1 | AA | Lc -39.6 | 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
#E8ECDF
oklch(93.6% 0.018 120.7)
-
Step 200
200
#D6DDC5
oklch(88.6% 0.033 120.3)
-
Step 300
300
#BBC79D
oklch(80.9% 0.058 120.7)
-
Step 400
400
#99A966
oklch(70.6% 0.092 119.8)
-
Step 500
500 (this color)
#7F9237
oklch(62.6% 0.119 119.9)
-
Step 600
600
#6A7D09
oklch(55.5% 0.129 119.9)
-
Step 700
700
#596900
oklch(49% 0.116 119.6)
-
Step 800
800
#485604
oklch(42.6% 0.099 120.1)
-
Step 900
900
#3C4711
oklch(37.6% 0.077 120.2)
-
Step 950
950
#232A0C
oklch(27% 0.049 120.8)
#7F9237 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) | #9B8A2C | 0.043 |
| Deuteranopia (no green cones) | #998A3D | 0.045 |
| Tritanopia (no blue cones) | #868B7F | 0.100 |
| Achromatopsia (no color) | #8A8A8A | 0.119 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F9237
#7F9237
oklch(62.6% 0.119 119.9)
- #9376C5
#9376C5
oklch(62.5% 0.119 299.9)
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 #7F9237, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Drab Green #749551 ΔE 0.026
- Camo #7F8F4E ΔE 0.028
- Moss #769958 ΔE 0.033
- Olive Drab #6B8E23 ΔE 0.035
- Dark Yellow Green #728F02 ΔE 0.036
- Flat Green #699D4C ΔE 0.037
- Khaki Green #728639 ΔE 0.041
- Moss Green #658B38 ΔE 0.042
Use #7F9237 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.