#304F3A

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.7% 0.051 153.9), rgb(48, 79, 58).

Aa

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

About this color

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

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

Values

HEX#304F3A
RGBrgb(48, 79, 58)
HSLhsl(139, 24%, 25%)
OKLCHoklch(39.7% 0.051 153.9)

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 #304F3A 9.10:1 AAA Lc -95.3 Preferred for body text
Black text on #304F3A 2.30:1 Fails Lc 13.1 Not readable
#304F3A text on white 9.10:1 AAA Lc 90.9 Preferred for body text
#304F3A text on black 2.30:1 Fails Lc -11.4 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

    #E4ECE6

    oklch(93.5% 0.012 153.7)

  3. Step 200

    200

    #CFDDD3

    oklch(88.4% 0.02 154.9)

  4. Step 300

    300

    #AEC8B5

    oklch(80.8% 0.039 153.7)

  5. Step 400

    400

    #83AC8F

    oklch(70.6% 0.061 153.8)

  6. Step 500

    500

    #639874

    oklch(63.2% 0.078 153.9)

  7. Step 600

    600

    #48825C

    oklch(55.6% 0.085 153.9)

  8. Step 700

    700

    #396E4C

    oklch(49.1% 0.079 154.2)

  9. Step 800

    800

    #305A3E

    oklch(42.8% 0.067 153.5)

  10. Step 900

    900 (this color)

    #304F3A

    oklch(39.7% 0.051 153.9)

  11. Step 950

    950

    #1A2B1F

    oklch(27% 0.032 153.1)

Export this scale for Tailwind in the Tailwind colors tool

#304F3A 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)#4F4A390.046
Deuteranopia (no green cones)#4A473B0.044
Tritanopia (no blue cones)#2A4E490.026
Achromatopsia (no color)#4848480.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #304F3A

    #304F3A

    oklch(39.7% 0.051 153.9)

  • #583C52

    #583C52

    oklch(39.6% 0.052 334.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304F3A

    #304F3A

    oklch(39.7% 0.051 153.9)

  • #414C2C

    #414C2C

    oklch(39.8% 0.052 124.2)

  • #22504A

    #22504A

    oklch(39.7% 0.052 184.1)

Open the analogous palette in the generator

Split complementary

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

  • #304F3A

    #304F3A

    oklch(39.7% 0.051 153.9)

  • #4D405D

    #4D405D

    oklch(39.7% 0.051 304.7)

  • #5E3B44

    #5E3B44

    oklch(39.6% 0.051 2.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304F3A

    #304F3A

    oklch(39.7% 0.051 153.9)

  • #3E4563

    #3E4563

    oklch(39.7% 0.052 273.7)

  • #5F3D34

    #5F3D34

    oklch(39.7% 0.051 35.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304F3A

    #304F3A

    oklch(39.7% 0.051 153.9)

  • #2E4A61

    #2E4A61

    oklch(39.7% 0.052 244.4)

  • #583C52

    #583C52

    oklch(39.6% 0.052 334.4)

  • #5A4129

    #5A4129

    oklch(39.7% 0.051 64.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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