#787340
Closest named color: Grey Brown (#7F7053). oklch(54.8% 0.071 103.6), rgb(120, 115, 64).
Aa
White text reads best on this color (4.85:1).
About this color
#787340 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 55%, its chroma 0.071 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Grey Brown (#7F7053), ΔE 0.032 away. White text reads best on it, at 4.85:1.
| Hue family | Yellows |
| Lightness | medium-dark (55%) |
| Chroma | moderately saturated (0.071) |
| Temperature | warm |
| Nearest name | Grey Brown (#7F7053) |
| Black text | 4.32:1 |
| White text | 4.85:1 |
Values
| HEX | #787340 |
| RGB | rgb(120, 115, 64) |
| HSL | hsl(55, 30%, 36%) |
| OKLCH | oklch(54.8% 0.071 103.6) |
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 #787340 | 4.85:1 | AA | Lc -79.1 | Fine for body text |
| Black text on #787340 | 4.32:1 | AA large text | Lc 30.4 | Non-text elements, placeholder text |
| #787340 text on white | 4.85:1 | AA | Lc 73.6 | Content text, not long reading |
| #787340 text on black | 4.32:1 | AA large text | Lc -28.1 | Dividers and decoration only |
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
#F6F6F2
oklch(97.2% 0.005 106.5)
-
Step 100
100
#EBEAE3
oklch(93.6% 0.009 100)
-
Step 200
200
#DBDACD
oklch(88.6% 0.018 103.2)
-
Step 300
300
#C4C2AB
oklch(80.9% 0.032 103)
-
Step 400
400
#A6A37E
oklch(70.8% 0.051 103.8)
-
Step 500
500
#908C5D
oklch(63.2% 0.065 104)
-
Step 600
600 (this color)
#787340
oklch(54.8% 0.071 103.6)
-
Step 700
700
#676334
oklch(49.2% 0.067 104.3)
-
Step 800
800
#54502C
oklch(42.6% 0.054 102.9)
-
Step 900
900
#454327
oklch(37.7% 0.044 104.8)
-
Step 950
950
#292717
oklch(27% 0.028 102)
#787340 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) | #7B703C | 0.009 |
| Deuteranopia (no green cones) | #7D7342 | 0.009 |
| Tritanopia (no blue cones) | #7F6D67 | 0.065 |
| Achromatopsia (no color) | #717171 | 0.071 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #787340
#787340
oklch(54.8% 0.071 103.6)
- #6B6B9A
#6B6B9A
oklch(54.7% 0.073 283.7)
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 #787340, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grey Brown #7F7053 ΔE 0.032
- Dirt #8A6E45 ΔE 0.034
- Dull Brown #876E4B ΔE 0.034
- Muddy Green #657432 ΔE 0.036
- Military Green #667C3E ΔE 0.037
- Dirt Brown #836539 ΔE 0.040
- Dark Taupe #7F684E ΔE 0.044
- Brown Green #706C11 ΔE 0.045
Use #787340 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.