#6D8A27
Closest named color: Mossy Green (#638B27). oklch(59.1% 0.129 124.5), rgb(109, 138, 39).
Aa
Black text reads best on this color (5.31:1).
About this color
#6D8A27 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 59%, its chroma 0.129 and its hue 125°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Mossy Green (#638B27), ΔE 0.013 away. Black text reads best on it, at 5.31:1.
| Hue family | Yellows |
| Lightness | medium-dark (59%) |
| Chroma | moderately saturated (0.129) |
| Temperature | in between |
| Nearest name | Mossy Green (#638B27) |
| Black text | 5.31:1 |
| White text | 3.95:1 |
Values
| HEX | #6D8A27 |
| RGB | rgb(109, 138, 39) |
| HSL | hsl(78, 56%, 35%) |
| OKLCH | oklch(59.1% 0.129 124.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 #6D8A27 | 3.95:1 | AA large text | Lc -72.3 | Content text, not long reading |
| Black text on #6D8A27 | 5.31:1 | AA | Lc 37.3 | Non-text elements, placeholder text |
| #6D8A27 text on white | 3.95:1 | AA large text | Lc 66.8 | Content text, not long reading |
| #6D8A27 text on black | 5.31:1 | AA | Lc -34.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 600.
-
Step 50
50
#F4F6F1
oklch(97% 0.007 124.4)
-
Step 100
100
#E7ECE0
oklch(93.6% 0.017 125.3)
-
Step 200
200
#D4DDC6
oklch(88.4% 0.032 124.5)
-
Step 300
300
#B8C89F
oklch(81% 0.058 125)
-
Step 400
400
#94AB6A
oklch(70.8% 0.092 124.6)
-
Step 500
500
#7A953F
oklch(63% 0.118 124.3)
-
Step 600
600 (this color)
#6D8A27
oklch(59.1% 0.129 124.5)
-
Step 700
700
#526B07
oklch(49% 0.119 124.3)
-
Step 800
800
#43580D
oklch(42.8% 0.1 124.8)
-
Step 900
900
#394815
oklch(37.7% 0.076 124)
-
Step 950
950
#212A0E
oklch(26.9% 0.048 124.4)
#6D8A27 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) | #928117 | 0.056 |
| Deuteranopia (no green cones) | #8E802F | 0.057 |
| Tritanopia (no blue cones) | #728376 | 0.105 |
| Achromatopsia (no color) | #808080 | 0.129 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #6D8A27
#6D8A27
oklch(59.1% 0.129 124.5)
- #8F68BB
#8F68BB
oklch(59.1% 0.129 304.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 #6D8A27, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Mossy Green #638B27 ΔE 0.013
- Olive Drab #6B8E23 ΔE 0.013
- Moss Green #658B38 ΔE 0.015
- Swamp Green #748500 ΔE 0.018
- Khaki Green #728639 ΔE 0.024
- Dark Yellow Green #728F02 ΔE 0.024
- Sap Green #5C8B15 ΔE 0.026
- Swamp #698339 ΔE 0.030
Use #6D8A27 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.