#7E7B3C
Closest named color: Drab (#828344). oklch(57.1% 0.085 106.3), rgb(126, 123, 60).
Aa
Black text reads best on this color (4.78:1).
About this color
#7E7B3C is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 57%, its chroma 0.085 and its hue 106°. Its hue sits on the warm side of the wheel. The nearest named color is Drab (#828344), ΔE 0.024 away. Black text reads best on it, at 4.78:1.
| Hue family | Yellows |
| Lightness | medium-dark (57%) |
| Chroma | moderately saturated (0.085) |
| Temperature | warm |
| Nearest name | Drab (#828344) |
| Black text | 4.78:1 |
| White text | 4.38:1 |
Values
| HEX | #7E7B3C |
| RGB | rgb(126, 123, 60) |
| HSL | hsl(57, 35%, 36%) |
| OKLCH | oklch(57.1% 0.085 106.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 #7E7B3C | 4.38:1 | AA large text | Lc -75.9 | Fine for body text |
| Black text on #7E7B3C | 4.78:1 | AA | Lc 33.7 | Non-text elements, placeholder text |
| #7E7B3C text on white | 4.38:1 | AA large text | Lc 70.4 | Content text, not long reading |
| #7E7B3C text on black | 4.78:1 | AA | Lc -31.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
#F6F6F2
oklch(97.2% 0.005 106.5)
-
Step 100
100
#EAEAE2
oklch(93.5% 0.011 106.6)
-
Step 200
200
#DADACA
oklch(88.4% 0.022 106.8)
-
Step 300
300
#C3C3A7
oklch(81% 0.038 107.2)
-
Step 400
400
#A5A477
oklch(70.8% 0.062 106.8)
-
Step 500
500
#8F8D53
oklch(63.1% 0.079 106.7)
-
Step 600
600 (this color)
#7E7B3C
oklch(57.1% 0.085 106.3)
-
Step 700
700
#66632A
oklch(49% 0.078 106.2)
-
Step 800
800
#535124
oklch(42.6% 0.065 106.5)
-
Step 900
900
#454322
oklch(37.6% 0.05 105.5)
-
Step 950
950
#282814
oklch(27.1% 0.034 108.5)
#7E7B3C 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) | #847736 | 0.013 |
| Deuteranopia (no green cones) | #867A3F | 0.014 |
| Tritanopia (no blue cones) | #86746D | 0.077 |
| Achromatopsia (no color) | #787878 | 0.085 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7E7B3C
#7E7B3C
oklch(57.1% 0.085 106.3)
- #7470A8
#7470A8
oklch(57.2% 0.085 286.6)
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 #7E7B3C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Drab #828344 ΔE 0.024
- Hazel #8E7618 ΔE 0.033
- Military Green #667C3E ΔE 0.035
- Khaki Green #728639 ΔE 0.037
- Swamp #698339 ΔE 0.038
- Olive #808000 ΔE 0.043
- Dirt #8A6E45 ΔE 0.046
- Muddy Green #657432 ΔE 0.046
Use #7E7B3C 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.