#305840

Closest named color: Pine (#2B5D34). oklch(42.3% 0.061 156.3), rgb(48, 88, 64).

Aa

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

About this color

#305840 is a dark, muted green. In OKLCH its lightness is 42%, its chroma 0.061 and its hue 156°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.029 away. White text reads best on it, at 8.09:1.

Hue familyGreens
Lightnessdark (42%)
Chromamuted (0.061)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.59:1
White text8.09:1

Values

HEX#305840
RGBrgb(48, 88, 64)
HSLhsl(144, 29%, 27%)
OKLCHoklch(42.3% 0.061 156.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 #305840 8.09:1 AAA Lc -92.6 Preferred for body text
Black text on #305840 2.59:1 Fails Lc 16.1 Dividers and decoration only
#305840 text on white 8.09:1 AAA Lc 87.9 Fine for body text
#305840 text on black 2.59:1 Fails Lc -14.2 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 800.

  1. Step 50

    50

    #F3F6F4

    oklch(97% 0.004 157.2)

  2. Step 100

    100

    #E5ECE7

    oklch(93.6% 0.01 155.1)

  3. Step 200

    200

    #CFDDD4

    oklch(88.4% 0.019 157.8)

  4. Step 300

    300

    #AFC8B7

    oklch(80.9% 0.036 155.8)

  5. Step 400

    400

    #84AC92

    oklch(70.8% 0.058 156.1)

  6. Step 500

    500

    #649777

    oklch(63.1% 0.073 156.1)

  7. Step 600

    600

    #4A8160

    oklch(55.5% 0.078 156.4)

  8. Step 700

    700

    #3B6D4F

    oklch(49% 0.073 156.1)

  9. Step 800

    800 (this color)

    #305840

    oklch(42.3% 0.061 156.3)

  10. Step 900

    900

    #2C4937

    oklch(37.7% 0.047 156.1)

  11. Step 950

    950

    #1A2B20

    oklch(27% 0.031 155.4)

Export this scale for Tailwind in the Tailwind colors tool

#305840 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)#58523F0.057
Deuteranopia (no green cones)#514E410.054
Tritanopia (no blue cones)#2757510.029
Achromatopsia (no color)#5050500.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #305840

    #305840

    oklch(42.3% 0.061 156.3)

  • #63415B

    #63415B

    oklch(42.3% 0.061 335.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #305840

    #305840

    oklch(42.3% 0.061 156.3)

  • #45542E

    #45542E

    oklch(42.3% 0.062 126.5)

  • #1E5953

    #1E5953

    oklch(42.4% 0.061 185.8)

Open the analogous palette in the generator

Split complementary

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

  • #305840

    #305840

    oklch(42.3% 0.061 156.3)

  • #564568

    #564568

    oklch(42.3% 0.06 306.2)

  • #6A4049

    #6A4049

    oklch(42.4% 0.06 6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #305840

    #305840

    oklch(42.3% 0.061 156.3)

  • #454B6F

    #454B6F

    oklch(42.3% 0.06 276.2)

  • #6B4236

    #6B4236

    oklch(42.4% 0.061 37.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #305840

    #305840

    oklch(42.3% 0.061 156.3)

  • #31516D

    #31516D

    oklch(42.3% 0.06 246.2)

  • #63415B

    #63415B

    oklch(42.3% 0.061 335.5)

  • #654728

    #654728

    oklch(42.4% 0.061 65.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #305840 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.