#778D21
Closest named color: Olive Drab (#6B8E23). oklch(60.6% 0.132 120.8), rgb(119, 141, 33).
Aa
Black text reads best on this color (5.61:1).
About this color
#778D21 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 61%, its chroma 0.132 and its hue 121°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Olive Drab (#6B8E23), ΔE 0.016 away. Black text reads best on it, at 5.61:1.
| Hue family | Yellows |
| Lightness | medium-dark (61%) |
| Chroma | moderately saturated (0.132) |
| Temperature | in between |
| Nearest name | Olive Drab (#6B8E23) |
| Black text | 5.61:1 |
| White text | 3.73:1 |
Values
| HEX | #778D21 |
| RGB | rgb(119, 141, 33) |
| HSL | hsl(72, 62%, 34%) |
| OKLCH | oklch(60.6% 0.132 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 #778D21 | 3.73:1 | AA large text | Lc -70.3 | Content text, not long reading |
| Black text on #778D21 | 5.61:1 | AA | Lc 39.3 | Non-text elements, placeholder text |
| #778D21 text on white | 3.73:1 | AA large text | Lc 64.8 | Content text, not long reading |
| #778D21 text on black | 5.61:1 | AA | Lc -36.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
#F4F6F0
oklch(97% 0.008 121.6)
-
Step 100
100
#E8ECDE
oklch(93.6% 0.019 119.8)
-
Step 200
200
#D5DDC3
oklch(88.4% 0.036 121.1)
-
Step 300
300
#BAC799
oklch(80.8% 0.064 120.7)
-
Step 400
400
#97AA5F
oklch(70.6% 0.102 120.7)
-
Step 500
500 (this color)
#778D21
oklch(60.6% 0.132 120.8)
-
Step 600
600
#697E00
oklch(55.6% 0.133 120.6)
-
Step 700
700
#586A00
oklch(49.2% 0.117 120.6)
-
Step 800
800
#475700
oklch(42.8% 0.103 121.1)
-
Step 900
900
#3B4806
oklch(37.7% 0.086 121)
-
Step 950
950
#232A08
oklch(27% 0.054 120.1)
#778D21 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) | #968408 | 0.048 |
| Deuteranopia (no green cones) | #93842B | 0.050 |
| Tritanopia (no blue cones) | #7E8579 | 0.113 |
| Achromatopsia (no color) | #848484 | 0.132 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #778D21
#778D21
oklch(60.6% 0.132 120.8)
- #8F6DC4
#8F6DC4
oklch(60.5% 0.132 300.5)
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 #778D21, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Olive Drab #6B8E23 ΔE 0.016
- Dark Yellow Green #728F02 ΔE 0.017
- Swamp Green #748500 ΔE 0.024
- Mossy Green #638B27 ΔE 0.027
- Moss Green #658B38 ΔE 0.028
- Khaki Green #728639 ΔE 0.032
- Olive #808000 ΔE 0.036
- Sap Green #5C8B15 ΔE 0.038
Use #778D21 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.