#778B0C
Closest named color: Dark Yellow Green (#728F02). oklch(60% 0.138 119.5), rgb(119, 139, 12).
Aa
Black text reads best on this color (5.48:1).
About this color
#778B0C is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 60%, its chroma 0.138 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Yellow Green (#728F02), ΔE 0.014 away. Black text reads best on it, at 5.48:1.
| Hue family | Yellows |
| Lightness | medium-dark (60%) |
| Chroma | moderately saturated (0.138) |
| Temperature | in between |
| Nearest name | Dark Yellow Green (#728F02) |
| Black text | 5.48:1 |
| White text | 3.83:1 |
Values
| HEX | #778B0C |
| RGB | rgb(119, 139, 12) |
| HSL | hsl(69, 84%, 30%) |
| OKLCH | oklch(60% 0.138 119.5) |
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 #778B0C | 3.83:1 | AA large text | Lc -71.1 | Content text, not long reading |
| Black text on #778B0C | 5.48:1 | AA | Lc 38.4 | Non-text elements, placeholder text |
| #778B0C text on white | 3.83:1 | AA large text | Lc 65.6 | Content text, not long reading |
| #778B0C text on black | 5.48:1 | AA | Lc -36.0 | 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
#D6DDC2
oklch(88.5% 0.037 119)
-
Step 300
300
#BBC796
oklch(80.8% 0.067 119.1)
-
Step 400
400
#99AA5A
oklch(70.7% 0.107 119.1)
-
Step 500
500 (this color)
#778B0C
oklch(60% 0.138 119.5)
-
Step 600
600
#6B7D00
oklch(55.5% 0.131 119.3)
-
Step 700
700
#596900
oklch(49% 0.116 119.6)
-
Step 800
800
#495600
oklch(42.7% 0.101 119.3)
-
Step 900
900
#3C4800
oklch(37.7% 0.09 119.9)
-
Step 950
950
#232A05
oklch(26.9% 0.057 119.6)
#778B0C 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) | #958200 | 0.049 |
| Deuteranopia (no green cones) | #92831D | 0.048 |
| Tritanopia (no blue cones) | #7F8376 | 0.119 |
| Achromatopsia (no color) | #828282 | 0.139 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #778B0C
#778B0C
oklch(60% 0.138 119.5)
- #8D6BC6
#8D6BC6
oklch(60.1% 0.138 299.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 #778B0C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Yellow Green #728F02 ΔE 0.014
- Olive Drab #6B8E23 ΔE 0.016
- Swamp Green #748500 ΔE 0.018
- Mossy Green #638B27 ΔE 0.026
- Moss Green #658B38 ΔE 0.031
- Olive #808000 ΔE 0.032
- Sap Green #5C8B15 ΔE 0.034
- Khaki Green #728639 ΔE 0.035
Use #778B0C 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.