#1F4218
Closest named color: Pine Green (#0A481E). oklch(34.2% 0.08 140.4), rgb(31, 66, 24).
Aa
White text reads best on this color (11.34:1).
About this color
#1F4218 is a dark, moderately saturated green. In OKLCH its lightness is 34%, its chroma 0.080 and its hue 140°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine Green (#0A481E), ΔE 0.022 away. White text reads best on it, at 11.34:1.
| Hue family | Greens |
| Lightness | dark (34%) |
| Chroma | moderately saturated (0.080) |
| Temperature | in between |
| Nearest name | Pine Green (#0A481E) |
| Black text | 1.85:1 |
| White text | 11.34:1 |
Values
| HEX | #1F4218 |
| RGB | rgb(31, 66, 24) |
| HSL | hsl(110, 47%, 18%) |
| OKLCH | oklch(34.2% 0.08 140.4) |
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 #1F4218 | 11.34:1 | AAA | Lc -99.8 | Preferred for body text |
| Black text on #1F4218 | 1.85:1 | Fails | Lc 7.9 | Not readable |
| #1F4218 text on white | 11.34:1 | AAA | Lc 96.0 | Preferred for body text |
| #1F4218 text on black | 1.85:1 | Fails | Lc 0.0 | Not readable |
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 900.
-
Step 50
50
#F3F7F2
oklch(97.2% 0.008 139.4)
-
Step 100
100
#E4EDE2
oklch(93.6% 0.017 140)
-
Step 200
200
#CEDFCA
oklch(88.5% 0.034 139.7)
-
Step 300
300
#ADCBA6
oklch(81% 0.06 139.8)
-
Step 400
400
#80B077
oklch(70.8% 0.096 140.6)
-
Step 500
500
#5F9B53
oklch(63.1% 0.121 140.3)
-
Step 600
600
#438636
oklch(55.7% 0.133 140.5)
-
Step 700
700
#357128
oklch(49.1% 0.123 140.2)
-
Step 800
800
#2C5C23
oklch(42.7% 0.102 140.6)
-
Step 900
900 (this color)
#1F4218
oklch(34.2% 0.08 140.4)
-
Step 950
950
#182C14
oklch(26.9% 0.05 140.3)
#1F4218 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) | #443C14 | 0.055 |
| Deuteranopia (no green cones) | #3F391B | 0.055 |
| Tritanopia (no blue cones) | #1C4039 | 0.053 |
| Achromatopsia (no color) | #3A3A3A | 0.080 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1F4218
#1F4218
oklch(34.2% 0.08 140.4)
- #4A2951
#4A2951
oklch(34.1% 0.079 320.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 #1F4218, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pine Green #0A481E ΔE 0.022
- Forrest Green #154406 ΔE 0.023
- Evergreen #05472A ΔE 0.026
- Hunter Green #0B4008 ΔE 0.026
- British Racing Green #05480D ΔE 0.031
- Dark Olive #373E02 ΔE 0.033
- Darkgreen #054907 ΔE 0.036
- Racing Green #014600 ΔE 0.037
Use #1F4218 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.