#306540
Closest named color: Pine (#2B5D34). oklch(46% 0.083 151.7), rgb(48, 101, 64).
Aa
White text reads best on this color (6.86:1).
About this color
#306540 is a medium-dark, moderately saturated green. In OKLCH its lightness is 46%, its chroma 0.083 and its hue 152°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.028 away. White text reads best on it, at 6.86:1.
| Hue family | Greens |
| Lightness | medium-dark (46%) |
| Chroma | moderately saturated (0.083) |
| Temperature | in between |
| Nearest name | Pine (#2B5D34) |
| Black text | 3.06:1 |
| White text | 6.86:1 |
Values
| HEX | #306540 |
| RGB | rgb(48, 101, 64) |
| HSL | hsl(138, 36%, 29%) |
| OKLCH | oklch(46% 0.083 151.7) |
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 #306540 | 6.86:1 | AA | Lc -88.5 | Fine for body text |
| Black text on #306540 | 3.06:1 | AA large text | Lc 20.5 | Dividers and decoration only |
| #306540 text on white | 6.86:1 | AA | Lc 83.5 | Fine for body text |
| #306540 text on black | 3.06:1 | AA large text | Lc -18.4 | 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 700.
-
Step 50
50
#F3F6F4
oklch(97% 0.004 157.2)
-
Step 100
100
#E4ECE6
oklch(93.5% 0.012 153.7)
-
Step 200
200
#CFDED2
oklch(88.6% 0.023 151.6)
-
Step 300
300
#AEC8B4
oklch(80.8% 0.04 152.3)
-
Step 400
400
#83AD8D
oklch(70.8% 0.065 151.8)
-
Step 500
500
#639871
oklch(63.1% 0.082 151.9)
-
Step 600
600
#488259
oklch(55.5% 0.089 152)
-
Step 700
700 (this color)
#306540
oklch(46% 0.083 151.7)
-
Step 800
800
#305A3C
oklch(42.8% 0.069 151.8)
-
Step 900
900
#2B4A33
oklch(37.8% 0.054 151.3)
-
Step 950
950
#1A2B1E
oklch(27% 0.033 151.1)
#306540 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) | #655E3E | 0.071 |
| Deuteranopia (no green cones) | #5E5842 | 0.070 |
| Tritanopia (no blue cones) | #24645B | 0.043 |
| Achromatopsia (no color) | #5A5A5A | 0.083 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #306540
#306540
oklch(46% 0.083 151.7)
- #73466D
#73466D
oklch(46.1% 0.083 331.7)
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 #306540, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pine #2B5D34 ΔE 0.028
- Spruce #0A5F38 ΔE 0.035
- Dark Green Blue #1F6357 ΔE 0.039
- Camo Green #526525 ΔE 0.046
- Army Green #4B5D16 ΔE 0.048
- Camouflage Green #4B6113 ΔE 0.049
- Dark Olive Green #556B2F ΔE 0.053
- Dark Aqua #05696B ΔE 0.064
Use #306540 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.