#306C40

Closest named color: Dark Olive Green (#556B2F). oklch(47.9% 0.094 150.2), rgb(48, 108, 64).

Aa

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

About this color

#306C40 is a medium-dark, moderately saturated green. In OKLCH its lightness is 48%, its chroma 0.094 and its hue 150°. 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.27:1.

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

Values

HEX#306C40
RGBrgb(48, 108, 64)
HSLhsl(136, 38%, 31%)
OKLCHoklch(47.9% 0.094 150.2)

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 #306C40 6.27:1 AA Lc -86.2 Fine for body text
Black text on #306C40 3.34:1 AA large text Lc 23.0 Dividers and decoration only
#306C40 text on white 6.27:1 AA Lc 81.1 Fine for body text
#306C40 text on black 3.34:1 AA large text Lc -20.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 700.

  1. Step 50

    50

    #F3F7F3

    oklch(97.2% 0.007 145.5)

  2. Step 100

    100

    #E4ECE5

    oklch(93.5% 0.013 149.2)

  3. Step 200

    200

    #CEDED0

    oklch(88.5% 0.026 149.1)

  4. Step 300

    300

    #ACC9B1

    oklch(80.8% 0.046 150.2)

  5. Step 400

    400

    #80AE89

    oklch(70.7% 0.073 150.2)

  6. Step 500

    500

    #5E9A6B

    oklch(63.2% 0.094 149.9)

  7. Step 600

    600

    #428453

    oklch(55.6% 0.102 150.3)

  8. Step 700

    700 (this color)

    #306C40

    oklch(47.9% 0.094 150.2)

  9. Step 800

    800

    #2C5B38

    oklch(42.8% 0.078 150.3)

  10. Step 900

    900

    #284B30

    oklch(37.8% 0.062 150)

  11. Step 950

    950

    #182C1C

    oklch(27.1% 0.039 149.5)

Export this scale for Tailwind in the Tailwind colors tool

#306C40 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)#6D643D0.079
Deuteranopia (no green cones)#645E430.077
Tritanopia (no blue cones)#236A610.052
Achromatopsia (no color)#6060600.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #306C40

    #306C40

    oklch(47.9% 0.094 150.2)

  • #7B4876

    #7B4876

    oklch(47.8% 0.095 330.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #306C40

    #306C40

    oklch(47.9% 0.094 150.2)

  • #566520

    #566520

    oklch(47.9% 0.095 120.6)

  • #006D5F

    #006D5F

    oklch(47.9% 0.087 179.8)

Open the analogous palette in the generator

Split complementary

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

  • #306C40

    #306C40

    oklch(47.9% 0.094 150.2)

  • #66508A

    #66508A

    oklch(47.9% 0.094 300.4)

  • #88455B

    #88455B

    oklch(48% 0.095 0.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #306C40

    #306C40

    oklch(47.9% 0.094 150.2)

  • #495A93

    #495A93

    oklch(48% 0.094 270)

  • #8B473C

    #8B473C

    oklch(48% 0.095 30.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #306C40

    #306C40

    oklch(47.9% 0.094 150.2)

  • #1F638D

    #1F638D

    oklch(47.8% 0.095 240.5)

  • #7B4876

    #7B4876

    oklch(47.8% 0.095 330.5)

  • #834F1E

    #834F1E

    oklch(47.8% 0.094 60.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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