#304D3E

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.2% 0.043 161), rgb(48, 77, 62).

Aa

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

About this color

#304D3E is a dark, muted green. In OKLCH its lightness is 39%, its chroma 0.043 and its hue 161°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.027 away. White text reads best on it, at 9.30:1.

Hue familyGreens
Lightnessdark (39%)
Chromamuted (0.043)
Temperaturein between
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.25:1
White text9.30:1

Values

HEX#304D3E
RGBrgb(48, 77, 62)
HSLhsl(149, 23%, 25%)
OKLCHoklch(39.2% 0.043 161)

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 #304D3E 9.30:1 AAA Lc -95.7 Preferred for body text
Black text on #304D3E 2.25:1 Fails Lc 12.5 Not readable
#304D3E text on white 9.30:1 AAA Lc 91.4 Preferred for body text
#304D3E text on black 2.25:1 Fails Lc -10.9 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 900.

  1. Step 50

    50

    #F3F6F4

    oklch(97% 0.004 157.2)

  2. Step 100

    100

    #E5ECE8

    oklch(93.7% 0.009 161.3)

  3. Step 200

    200

    #CFDDD5

    oklch(88.5% 0.019 161.1)

  4. Step 300

    300

    #AFC7BA

    oklch(80.8% 0.032 162)

  5. Step 400

    400

    #84AB96

    oklch(70.6% 0.052 161.2)

  6. Step 500

    500

    #65967C

    oklch(63% 0.066 160.6)

  7. Step 600

    600

    #4A8165

    oklch(55.7% 0.074 160.5)

  8. Step 700

    700

    #3B6D54

    oklch(49.2% 0.068 160.7)

  9. Step 800

    800

    #315945

    oklch(42.8% 0.057 160.9)

  10. Step 900

    900 (this color)

    #304D3E

    oklch(39.2% 0.043 161)

  11. Step 950

    950

    #1A2B22

    oklch(27.1% 0.028 160.6)

Export this scale for Tailwind in the Tailwind colors tool

#304D3E 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)#4C493D0.041
Deuteranopia (no green cones)#47463F0.039
Tritanopia (no blue cones)#2A4D490.019
Achromatopsia (no color)#4747470.044

Harmonies

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

Complementary

The opposite hue (180°).

  • #304D3E

    #304D3E

    oklch(39.2% 0.043 161)

  • #563C4D

    #563C4D

    oklch(39.2% 0.045 340)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304D3E

    #304D3E

    oklch(39.2% 0.043 161)

  • #3D4B32

    #3D4B32

    oklch(39.3% 0.044 131.9)

  • #274D4B

    #274D4B

    oklch(39.2% 0.044 191.1)

Open the analogous palette in the generator

Split complementary

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

  • #304D3E

    #304D3E

    oklch(39.2% 0.043 161)

  • #4D3F57

    #4D3F57

    oklch(39.2% 0.044 310.8)

  • #5A3C40

    #5A3C40

    oklch(39.2% 0.043 10.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304D3E

    #304D3E

    oklch(39.2% 0.043 161)

  • #41435D

    #41435D

    oklch(39.2% 0.044 280.7)

  • #5A3E34

    #5A3E34

    oklch(39.3% 0.043 40.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304D3E

    #304D3E

    oklch(39.2% 0.043 161)

  • #34475C

    #34475C

    oklch(39.1% 0.043 251.4)

  • #563C4D

    #563C4D

    oklch(39.2% 0.045 340)

  • #55422B

    #55422B

    oklch(39.3% 0.044 71.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #304D3E 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.