#7D8438
Closest named color: Khaki Green (#728639). oklch(59.1% 0.1 113.9), rgb(125, 132, 56).
Aa
Black text reads best on this color (5.22:1).
About this color
#7D8438 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 59%, its chroma 0.100 and its hue 114°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Khaki Green (#728639), ΔE 0.016 away. Black text reads best on it, at 5.22:1.
| Hue family | Yellows |
| Lightness | medium-dark (59%) |
| Chroma | moderately saturated (0.100) |
| Temperature | in between |
| Nearest name | Khaki Green (#728639) |
| Black text | 5.22:1 |
| White text | 4.01:1 |
Values
| HEX | #7D8438 |
| RGB | rgb(125, 132, 56) |
| HSL | hsl(66, 40%, 37%) |
| OKLCH | oklch(59.1% 0.1 113.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 #7D8438 | 4.01:1 | AA large text | Lc -72.9 | Content text, not long reading |
| Black text on #7D8438 | 5.22:1 | AA | Lc 36.7 | Non-text elements, placeholder text |
| #7D8438 text on white | 4.01:1 | AA large text | Lc 67.4 | Content text, not long reading |
| #7D8438 text on black | 5.22:1 | AA | Lc -34.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 600.
-
Step 50
50
#F5F6F1
oklch(97.1% 0.007 115.7)
-
Step 100
100
#E9EBE1
oklch(93.6% 0.013 115.8)
-
Step 200
200
#D8DBC9
oklch(88.4% 0.024 114.6)
-
Step 300
300
#C0C4A3
oklch(80.8% 0.045 113)
-
Step 400
400
#A0A672
oklch(70.7% 0.071 113.6)
-
Step 500
500
#89904B
oklch(63.2% 0.093 113.8)
-
Step 600
600 (this color)
#7D8438
oklch(59.1% 0.1 113.9)
-
Step 700
700
#60661F
oklch(49% 0.093 114)
-
Step 800
800
#4F531C
oklch(42.6% 0.077 113.1)
-
Step 900
900
#41451D
oklch(37.7% 0.06 114)
-
Step 950
950
#262912
oklch(27.1% 0.039 115.1)
#7D8438 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) | #8D7E30 | 0.027 |
| Deuteranopia (no green cones) | #8D803C | 0.028 |
| Tritanopia (no blue cones) | #857D73 | 0.087 |
| Achromatopsia (no color) | #7F7F7F | 0.100 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7D8438
#7D8438
oklch(59.1% 0.1 113.9)
- #8171B3
#8171B3
oklch(59% 0.1 294.3)
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 #7D8438, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Khaki Green #728639 ΔE 0.016
- Drab #828344 ΔE 0.017
- Swamp #698339 ΔE 0.029
- Olive #808000 ΔE 0.029
- Camo #7F8F4E ΔE 0.034
- Moss Green #658B38 ΔE 0.037
- Swamp Green #748500 ΔE 0.038
- Hazel #8E7618 ΔE 0.042
Use #7D8438 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.