#788948
Closest named color: Khaki Green (#728639). oklch(60.1% 0.092 121.3), rgb(120, 137, 72).
Aa
Black text reads best on this color (5.47:1).
About this color
#788948 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 60%, its chroma 0.092 and its hue 121°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Khaki Green (#728639), ΔE 0.020 away. Black text reads best on it, at 5.47:1.
| Hue family | Yellows |
| Lightness | medium-dark (60%) |
| Chroma | moderately saturated (0.092) |
| Temperature | in between |
| Nearest name | Khaki Green (#728639) |
| Black text | 5.47:1 |
| White text | 3.83:1 |
Values
| HEX | #788948 |
| RGB | rgb(120, 137, 72) |
| HSL | hsl(76, 31%, 41%) |
| OKLCH | oklch(60.1% 0.092 121.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 #788948 | 3.83:1 | AA large text | Lc -71.3 | Content text, not long reading |
| Black text on #788948 | 5.47:1 | AA | Lc 38.2 | Non-text elements, placeholder text |
| #788948 text on white | 3.83:1 | AA large text | Lc 65.8 | Content text, not long reading |
| #788948 text on black | 5.47:1 | AA | Lc -35.8 | 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
#F5F6F2
oklch(97.1% 0.005 117.9)
-
Step 100
100
#E8EBE2
oklch(93.5% 0.012 121.7)
-
Step 200
200
#D6DCCA
oklch(88.5% 0.025 122)
-
Step 300
300
#BCC6A6
oklch(81% 0.045 121.5)
-
Step 400
400
#99A875
oklch(70.7% 0.073 121.6)
-
Step 500
500 (this color)
#788948
oklch(60.1% 0.092 121.3)
-
Step 600
600
#6A7C34
oklch(55.5% 0.1 121.5)
-
Step 700
700
#596926
oklch(49.2% 0.094 121.3)
-
Step 800
800
#495521
oklch(42.7% 0.077 120.6)
-
Step 900
900
#3D4620
oklch(37.6% 0.06 120.3)
-
Step 950
950
#242914
oklch(27% 0.037 119.9)
#788948 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) | #908243 | 0.038 |
| Deuteranopia (no green cones) | #8E824B | 0.038 |
| Tritanopia (no blue cones) | #7D837A | 0.077 |
| Achromatopsia (no color) | #828282 | 0.092 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #788948
#788948
oklch(60.1% 0.092 121.3)
- #8A73AF
#8A73AF
oklch(60.1% 0.093 301.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 #788948, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Khaki Green #728639 ΔE 0.020
- Drab #828344 ΔE 0.020
- Camo #7F8F4E ΔE 0.021
- Swamp #698339 ΔE 0.032
- Drab Green #749551 ΔE 0.033
- Moss Green #658B38 ΔE 0.034
- Moss #769958 ΔE 0.044
- Dark Sage #598556 ΔE 0.045
Use #788948 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.