#1F6831
Closest named color: Spruce (#0A5F38). oklch(45.9% 0.112 148.1), rgb(31, 104, 49).
Aa
White text reads best on this color (6.81:1).
About this color
#1F6831 is a medium-dark, moderately saturated green. In OKLCH its lightness is 46%, its chroma 0.112 and its hue 148°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Spruce (#0A5F38), ΔE 0.036 away. White text reads best on it, at 6.81:1.
| Hue family | Greens |
| Lightness | medium-dark (46%) |
| Chroma | moderately saturated (0.112) |
| Temperature | in between |
| Nearest name | Spruce (#0A5F38) |
| Black text | 3.08:1 |
| White text | 6.81:1 |
Values
| HEX | #1F6831 |
| RGB | rgb(31, 104, 49) |
| HSL | hsl(135, 54%, 26%) |
| OKLCH | oklch(45.9% 0.112 148.1) |
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 #1F6831 | 6.81:1 | AA | Lc -88.2 | Fine for body text |
| Black text on #1F6831 | 3.08:1 | AA large text | Lc 20.9 | Dividers and decoration only |
| #1F6831 text on white | 6.81:1 | AA | Lc 83.2 | Fine for body text |
| #1F6831 text on black | 3.08:1 | AA large text | Lc -18.8 | Dividers and decoration only |
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 800.
-
Step 50
50
#F2F7F2
oklch(97.1% 0.008 145.5)
-
Step 100
100
#E2EEE3
oklch(93.7% 0.019 147.8)
-
Step 200
200
#CAE0CC
oklch(88.5% 0.036 147.9)
-
Step 300
300
#A4CDA9
oklch(80.9% 0.066 148.3)
-
Step 400
400
#71B37B
oklch(70.8% 0.106 148.1)
-
Step 500
500
#479F59
oklch(63.1% 0.134 148.2)
-
Step 600
600
#20893E
oklch(55.5% 0.145 148.3)
-
Step 700
700
#0F7430
oklch(49% 0.135 148.3)
-
Step 800
800 (this color)
#1F6831
oklch(45.9% 0.112 148.1)
-
Step 900
900
#194E25
oklch(37.7% 0.088 148.1)
-
Step 950
950
#112E16
oklch(27.1% 0.056 147.5)
#1F6831 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) | #695F2C | 0.089 |
| Deuteranopia (no green cones) | #605835 | 0.089 |
| Tritanopia (no blue cones) | #04665B | 0.064 |
| Achromatopsia (no color) | #5B5B5B | 0.113 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1F6831
#1F6831
oklch(45.9% 0.112 148.1)
- #783E77
#783E77
oklch(45.8% 0.112 327.8)
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 #1F6831, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Spruce #0A5F38 ΔE 0.036
- Pine #2B5D34 ΔE 0.037
- Dark Green #006400 ΔE 0.044
- Camouflage Green #4B6113 ΔE 0.045
- Army Green #4B5D16 ΔE 0.049
- Camo Green #526525 ΔE 0.051
- Dark Olive Green #556B2F ΔE 0.058
- Deep Green #02590F ΔE 0.058
Use #1F6831 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.