#304937

Closest named color: Dark Slate Gray (#2F4F4F). oklch(37.9% 0.043 152.7), rgb(48, 73, 55).

Aa

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

About this color

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

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

Values

HEX#304937
RGBrgb(48, 73, 55)
HSLhsl(137, 21%, 24%)
OKLCHoklch(37.9% 0.043 152.7)

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 #304937 9.84:1 AAA Lc -97.0 Preferred for body text
Black text on #304937 2.13:1 Fails Lc 11.2 Not readable
#304937 text on white 9.84:1 AAA Lc 92.8 Preferred for body text
#304937 text on black 2.13:1 Fails Lc -9.7 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

    #E5ECE7

    oklch(93.6% 0.01 155.1)

  3. Step 200

    200

    #D1DDD3

    oklch(88.6% 0.019 150.5)

  4. Step 300

    300

    #B2C7B7

    oklch(80.9% 0.032 152.8)

  5. Step 400

    400

    #89AA91

    oklch(70.6% 0.051 152.3)

  6. Step 500

    500

    #6A9676

    oklch(63.2% 0.068 152.6)

  7. Step 600

    600

    #51805F

    oklch(55.6% 0.073 153)

  8. Step 700

    700

    #426C4E

    oklch(49.1% 0.067 152.4)

  9. Step 800

    800

    #365840

    oklch(42.7% 0.056 152.8)

  10. Step 900

    900 (this color)

    #304937

    oklch(37.9% 0.043 152.7)

  11. Step 950

    950

    #1C2A20

    oklch(26.9% 0.027 153.3)

Export this scale for Tailwind in the Tailwind colors tool

#304937 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)#4945360.038
Deuteranopia (no green cones)#4542380.038
Tritanopia (no blue cones)#2C48440.023
Achromatopsia (no color)#4343430.044

Harmonies

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

Complementary

The opposite hue (180°).

  • #304937

    #304937

    oklch(37.9% 0.043 152.7)

  • #503A4C

    #503A4C

    oklch(38% 0.042 332.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304937

    #304937

    oklch(37.9% 0.043 152.7)

  • #3E462C

    #3E462C

    oklch(37.9% 0.043 122.4)

  • #254A44

    #254A44

    oklch(38% 0.044 182.2)

Open the analogous palette in the generator

Split complementary

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

  • #304937

    #304937

    oklch(37.9% 0.043 152.7)

  • #473D55

    #473D55

    oklch(38% 0.042 303.5)

  • #563840

    #563840

    oklch(37.8% 0.044 2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304937

    #304937

    oklch(37.9% 0.043 152.7)

  • #3A415A

    #3A415A

    oklch(38% 0.044 272.1)

  • #573A33

    #573A33

    oklch(38% 0.043 34.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304937

    #304937

    oklch(37.9% 0.043 152.7)

  • #2D4558

    #2D4558

    oklch(37.9% 0.044 243.2)

  • #503A4C

    #503A4C

    oklch(38% 0.042 332.8)

  • #533D2A

    #533D2A

    oklch(37.9% 0.043 61.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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