#306F45

Closest named color: Dark Olive Green (#556B2F). oklch(48.8% 0.094 152.3), rgb(48, 111, 69).

Aa

White text reads best on this color (6.02:1).

About this color

#306F45 is a medium-dark, moderately saturated green. In OKLCH its lightness is 49%, its chroma 0.094 and its hue 152°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive Green (#556B2F), ΔE 0.042 away. White text reads best on it, at 6.02:1.

Hue familyGreens
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.094)
Temperaturein between
Nearest nameDark Olive Green (#556B2F)
Black text3.48:1
White text6.02:1

Values

HEX#306F45
RGBrgb(48, 111, 69)
HSLhsl(140, 40%, 31%)
OKLCHoklch(48.8% 0.094 152.3)

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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #306F45 6.02:1 AA Lc -85.1 Fine for body text
Black text on #306F45 3.48:1 AA large text Lc 24.2 Dividers and decoration only
#306F45 text on white 6.02:1 AA Lc 79.9 Fine for body text
#306F45 text on black 3.48:1 AA large text Lc -21.9 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.

  1. Step 50

    50

    #F3F7F3

    oklch(97.2% 0.007 145.5)

  2. Step 100

    100

    #E4ECE6

    oklch(93.5% 0.012 153.7)

  3. Step 200

    200

    #CDDED1

    oklch(88.4% 0.025 152.8)

  4. Step 300

    300

    #ACCAB3

    oklch(81% 0.045 152.3)

  5. Step 400

    400

    #7EAE8B

    oklch(70.7% 0.072 152.7)

  6. Step 500

    500

    #5C9A6E

    oklch(63.2% 0.093 152.3)

  7. Step 600

    600

    #3F8456

    oklch(55.6% 0.101 152.7)

  8. Step 700

    700 (this color)

    #306F45

    oklch(48.8% 0.094 152.3)

  9. Step 800

    800

    #2A5B39

    oklch(42.7% 0.078 151.8)

  10. Step 900

    900

    #274B32

    oklch(37.8% 0.06 152.5)

  11. Step 950

    950

    #172C1D

    oklch(27% 0.039 152.2)

Export this scale for Tailwind in the Tailwind colors tool

#306F45 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#6F67420.080
Deuteranopia (no green cones)#6660480.080
Tritanopia (no blue cones)#206E640.048
Achromatopsia (no color)#6363630.095

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #306F45

    #306F45

    oklch(48.8% 0.094 152.3)

  • #7F4B77

    #7F4B77

    oklch(48.9% 0.093 332.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #306F45

    #306F45

    oklch(48.8% 0.094 152.3)

  • #576826

    #576826

    oklch(48.8% 0.093 122.1)

  • #007064

    #007064

    oklch(48.9% 0.088 182.1)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #306F45

    #306F45

    oklch(48.8% 0.094 152.3)

  • #6A528C

    #6A528C

    oklch(48.8% 0.094 302.1)

  • #8B475B

    #8B475B

    oklch(48.8% 0.095 2.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #306F45

    #306F45

    oklch(48.8% 0.094 152.3)

  • #4E5C95

    #4E5C95

    oklch(48.9% 0.093 272.1)

  • #8D4A3D

    #8D4A3D

    oklch(48.8% 0.094 32.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #306F45

    #306F45

    oklch(48.8% 0.094 152.3)

  • #276590

    #276590

    oklch(48.7% 0.094 242.6)

  • #7F4B77

    #7F4B77

    oklch(48.9% 0.093 332.7)

  • #85531F

    #85531F

    oklch(48.9% 0.094 63.1)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #306F45, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #306F45 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.