#778A38
Closest named color: Khaki Green (#728639). oklch(60% 0.11 120.8), rgb(119, 138, 56).
Aa
Black text reads best on this color (5.47:1).
About this color
#778A38 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 60%, its chroma 0.110 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.014 away. Black text reads best on it, at 5.47:1.
| Hue family | Yellows |
| Lightness | medium-dark (60%) |
| Chroma | moderately saturated (0.110) |
| Temperature | in between |
| Nearest name | Khaki Green (#728639) |
| Black text | 5.47:1 |
| White text | 3.83:1 |
Values
| HEX | #778A38 |
| RGB | rgb(119, 138, 56) |
| HSL | hsl(74, 42%, 38%) |
| OKLCH | oklch(60% 0.11 120.8) |
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 #778A38 | 3.83:1 | AA large text | Lc -71.3 | Content text, not long reading |
| Black text on #778A38 | 5.47:1 | AA | Lc 38.3 | Non-text elements, placeholder text |
| #778A38 text on white | 3.83:1 | AA large text | Lc 65.8 | Content text, not long reading |
| #778A38 text on black | 5.47:1 | AA | Lc -35.9 | 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
#E8ECE0
oklch(93.7% 0.017 121.8)
-
Step 200
200
#D6DCC7
oklch(88.4% 0.029 120)
-
Step 300
300
#BBC6A0
oklch(80.8% 0.053 120.7)
-
Step 400
400
#99A96B
oklch(70.7% 0.086 120.4)
-
Step 500
500 (this color)
#778A38
oklch(60% 0.11 120.8)
-
Step 600
600
#6A7D1E
oklch(55.6% 0.119 120.5)
-
Step 700
700
#586A0E
oklch(49.2% 0.112 121)
-
Step 800
800
#485611
oklch(42.7% 0.092 120.7)
-
Step 900
900
#3C4717
oklch(37.7% 0.072 120.9)
-
Step 950
950
#232A0F
oklch(27.1% 0.046 121.6)
#778A38 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) | #92822F | 0.042 |
| Deuteranopia (no green cones) | #90823D | 0.044 |
| Tritanopia (no blue cones) | #7D8378 | 0.093 |
| Achromatopsia (no color) | #828282 | 0.110 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #778A38
#778A38
oklch(60% 0.11 120.8)
- #8B70B8
#8B70B8
oklch(60% 0.11 300.4)
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 #778A38, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Khaki Green #728639 ΔE 0.014
- Moss Green #658B38 ΔE 0.024
- Camo #7F8F4E ΔE 0.029
- Swamp #698339 ΔE 0.030
- Olive Drab #6B8E23 ΔE 0.030
- Drab #828344 ΔE 0.032
- Swamp Green #748500 ΔE 0.032
- Mossy Green #638B27 ΔE 0.033
Use #778A38 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.