#1F4B18
Closest named color: Pine Green (#0A481E). oklch(36.9% 0.094 141), rgb(31, 75, 24).
Aa
White text reads best on this color (10.10:1).
About this color
#1F4B18 is a dark, moderately saturated green. In OKLCH its lightness is 37%, its chroma 0.094 and its hue 141°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine Green (#0A481E), ΔE 0.020 away. White text reads best on it, at 10.10:1.
| Hue family | Greens |
| Lightness | dark (37%) |
| Chroma | moderately saturated (0.094) |
| Temperature | in between |
| Nearest name | Pine Green (#0A481E) |
| Black text | 2.07:1 |
| White text | 10.10:1 |
Values
| HEX | #1F4B18 |
| RGB | rgb(31, 75, 24) |
| HSL | hsl(112, 52%, 19%) |
| OKLCH | oklch(36.9% 0.094 141) |
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 #1F4B18 | 10.10:1 | AAA | Lc -97.3 | Preferred for body text |
| Black text on #1F4B18 | 2.07:1 | Fails | Lc 10.7 | Not readable |
| #1F4B18 text on white | 10.10:1 | AAA | Lc 93.2 | Preferred for body text |
| #1F4B18 text on black | 2.07:1 | Fails | Lc -9.3 | 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
#F2F7F1
oklch(97.1% 0.01 140.5)
-
Step 100
100
#E3EDE1
oklch(93.5% 0.019 140.5)
-
Step 200
200
#CCE0C8
oklch(88.5% 0.039 140.5)
-
Step 300
300
#A8CCA2
oklch(80.8% 0.07 141.1)
-
Step 400
400
#78B26F
oklch(70.7% 0.112 141.1)
-
Step 500
500
#539E47
oklch(63% 0.144 141)
-
Step 600
600
#348826
oklch(55.5% 0.156 141)
-
Step 700
700
#267318
oklch(49% 0.145 141)
-
Step 800
800
#215E17
oklch(42.6% 0.12 141.1)
-
Step 900
900 (this color)
#1F4B18
oklch(36.9% 0.094 141)
-
Step 950
950
#142D10
oklch(26.9% 0.06 141)
#1F4B18 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) | #4D4412 | 0.065 |
| Deuteranopia (no green cones) | #47401C | 0.065 |
| Tritanopia (no blue cones) | #1A4940 | 0.061 |
| Achromatopsia (no color) | #424242 | 0.094 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1F4B18
#1F4B18
oklch(36.9% 0.094 141)
- #552C5D
#552C5D
oklch(36.8% 0.094 320.9)
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 #1F4B18, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pine Green #0A481E ΔE 0.020
- British Racing Green #05480D ΔE 0.025
- Darkgreen #054907 ΔE 0.026
- Bottle Green #044A05 ΔE 0.026
- Forrest Green #154406 ΔE 0.029
- Evergreen #05472A ΔE 0.033
- Racing Green #014600 ΔE 0.035
- Forest #0B5509 ΔE 0.039
Use #1F4B18 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.