#305338

Closest named color: Pine (#2B5D34). oklch(40.7% 0.061 150.3), rgb(48, 83, 56).

Aa

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

About this color

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

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

Values

HEX#305338
RGBrgb(48, 83, 56)
HSLhsl(134, 27%, 26%)
OKLCHoklch(40.7% 0.061 150.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 #305338 8.67:1 AAA Lc -94.2 Preferred for body text
Black text on #305338 2.42:1 Fails Lc 14.3 Not readable
#305338 text on white 8.67:1 AAA Lc 89.7 Fine for body text
#305338 text on black 2.42:1 Fails Lc -12.6 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

    #E5ECE6

    oklch(93.6% 0.011 149.9)

  3. Step 200

    200

    #D0DDD2

    oklch(88.5% 0.02 150.1)

  4. Step 300

    300

    #B1C8B5

    oklch(81% 0.036 150.4)

  5. Step 400

    400

    #88AB8E

    oklch(70.7% 0.057 149.8)

  6. Step 500

    500

    #699672

    oklch(63% 0.073 150.1)

  7. Step 600

    600

    #50815B

    oklch(55.7% 0.079 150.3)

  8. Step 700

    700

    #406D4A

    oklch(49.2% 0.075 150)

  9. Step 800

    800 (this color)

    #305338

    oklch(40.7% 0.061 150.3)

  10. Step 900

    900

    #2F4934

    oklch(37.8% 0.048 149.7)

  11. Step 950

    950

    #1C2B1F

    oklch(27.1% 0.03 150.2)

Export this scale for Tailwind in the Tailwind colors tool

#305338 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)#534E360.051
Deuteranopia (no green cones)#4E4A3A0.051
Tritanopia (no blue cones)#2A524C0.033
Achromatopsia (no color)#4B4B4B0.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #305338

    #305338

    oklch(40.7% 0.061 150.3)

  • #5C3D59

    #5C3D59

    oklch(40.6% 0.061 330)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #305338

    #305338

    oklch(40.7% 0.061 150.3)

  • #454F27

    #454F27

    oklch(40.8% 0.062 120.7)

  • #1B544B

    #1B544B

    oklch(40.6% 0.061 180.8)

Open the analogous palette in the generator

Split complementary

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

  • #305338

    #305338

    oklch(40.7% 0.061 150.3)

  • #4F4266

    #4F4266

    oklch(40.8% 0.061 300.3)

  • #653B48

    #653B48

    oklch(40.7% 0.062 0.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #305338

    #305338

    oklch(40.7% 0.061 150.3)

  • #3D486B

    #3D486B

    oklch(40.8% 0.061 270.2)

  • #673D36

    #673D36

    oklch(40.8% 0.061 30.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #305338

    #305338

    oklch(40.7% 0.061 150.3)

  • #284E67

    #284E67

    oklch(40.7% 0.06 239.4)

  • #5C3D59

    #5C3D59

    oklch(40.6% 0.061 330)

  • #624126

    #624126

    oklch(40.7% 0.061 59.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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