#334827

Closest named color: Dark Olive (#373E02). oklch(37.5% 0.06 134.9), rgb(51, 72, 39).

Aa

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

About this color

#334827 is a dark, muted green. In OKLCH its lightness is 37%, its chroma 0.060 and its hue 135°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive (#373E02), ΔE 0.041 away. White text reads best on it, at 10.01:1.

Hue familyGreens
Lightnessdark (37%)
Chromamuted (0.060)
Temperaturein between
Nearest nameDark Olive (#373E02)
Black text2.09:1
White text10.01:1

Values

HEX#334827
RGBrgb(51, 72, 39)
HSLhsl(98, 30%, 22%)
OKLCHoklch(37.5% 0.06 134.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 #334827 10.01:1 AAA Lc -97.3 Preferred for body text
Black text on #334827 2.09:1 Fails Lc 10.7 Not readable
#334827 text on white 10.01:1 AAA Lc 93.2 Preferred for body text
#334827 text on black 2.09:1 Fails Lc -9.3 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

    #F4F6F2

    oklch(97.1% 0.006 128.5)

  2. Step 100

    100

    #E6ECE3

    oklch(93.6% 0.014 134.9)

  3. Step 200

    200

    #D2DDCD

    oklch(88.5% 0.025 135.7)

  4. Step 300

    300

    #B5C8AB

    oklch(81% 0.045 134.7)

  5. Step 400

    400

    #8EAB7E

    oklch(70.7% 0.071 134.7)

  6. Step 500

    500

    #71965D

    oklch(63.1% 0.091 135.2)

  7. Step 600

    600

    #598043

    oklch(55.5% 0.099 135.2)

  8. Step 700

    700

    #496C34

    oklch(49% 0.092 134.9)

  9. Step 800

    800

    #3C582C

    oklch(42.6% 0.076 135.1)

  10. Step 900

    900 (this color)

    #334827

    oklch(37.5% 0.06 134.9)

  11. Step 950

    950

    #1E2B18

    oklch(27.1% 0.038 136.2)

Export this scale for Tailwind in the Tailwind colors tool

#334827 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)#4A43250.038
Deuteranopia (no green cones)#4742290.037
Tritanopia (no blue cones)#3346400.042
Achromatopsia (no color)#4242420.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #334827

    #334827

    oklch(37.5% 0.06 134.9)

  • #4D3757

    #4D3757

    oklch(37.5% 0.06 314.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334827

    #334827

    oklch(37.5% 0.06 134.9)

  • #46431A

    #46431A

    oklch(37.6% 0.06 105.1)

  • #1D4B39

    #1D4B39

    oklch(37.5% 0.06 164.9)

Open the analogous palette in the generator

Split complementary

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

  • #334827

    #334827

    oklch(37.5% 0.06 134.9)

  • #3E3C5F

    #3E3C5F

    oklch(37.4% 0.059 285.8)

  • #573448

    #573448

    oklch(37.5% 0.058 345)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334827

    #334827

    oklch(37.5% 0.06 134.9)

  • #2B4260

    #2B4260

    oklch(37.5% 0.059 255.5)

  • #5C3337

    #5C3337

    oklch(37.4% 0.059 14.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334827

    #334827

    oklch(37.5% 0.06 134.9)

  • #154759

    #154759

    oklch(37.4% 0.06 226)

  • #4D3757

    #4D3757

    oklch(37.5% 0.06 314.9)

  • #5B3626

    #5B3626

    oklch(37.4% 0.059 43.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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