#334816

Closest named color: Dark Olive (#373E02). oklch(37.2% 0.079 129), rgb(51, 72, 22).

Aa

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

About this color

#334816 is a dark, moderately saturated green. In OKLCH its lightness is 37%, its chroma 0.079 and its hue 129°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive (#373E02), ΔE 0.031 away. White text reads best on it, at 10.09:1.

Hue familyGreens
Lightnessdark (37%)
Chromamoderately saturated (0.079)
Temperaturein between
Nearest nameDark Olive (#373E02)
Black text2.07:1
White text10.09:1

Values

HEX#334816
RGBrgb(51, 72, 22)
HSLhsl(85, 53%, 18%)
OKLCHoklch(37.2% 0.079 129)

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 #334816 10.09:1 AAA Lc -97.4 Preferred for body text
Black text on #334816 2.07:1 Fails Lc 10.6 Not readable
#334816 text on white 10.09:1 AAA Lc 93.3 Preferred for body text
#334816 text on black 2.07:1 Fails Lc -9.2 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

    #F4F7F1

    oklch(97.2% 0.009 128.6)

  2. Step 100

    100

    #E6ECE0

    oklch(93.5% 0.017 128.7)

  3. Step 200

    200

    #D2DEC7

    oklch(88.5% 0.034 129.7)

  4. Step 300

    300

    #B5C9A0

    oklch(81% 0.06 128.9)

  5. Step 400

    400

    #8EAC6C

    oklch(70.6% 0.094 129)

  6. Step 500

    500

    #729743

    oklch(63% 0.12 129.1)

  7. Step 600

    600

    #5B811F

    oklch(55.5% 0.131 128.8)

  8. Step 700

    700

    #4B6D10

    oklch(49.1% 0.122 128.7)

  9. Step 800

    800

    #3D5912

    oklch(42.7% 0.102 129.1)

  10. Step 900

    900 (this color)

    #334816

    oklch(37.2% 0.079 129)

  11. Step 950

    950

    #1F2B0F

    oklch(27% 0.05 128.5)

Export this scale for Tailwind in the Tailwind colors tool

#334816 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)#4C43100.041
Deuteranopia (no green cones)#49411A0.042
Tritanopia (no blue cones)#35453D0.060
Achromatopsia (no color)#4242420.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #334816

    #334816

    oklch(37.2% 0.079 129)

  • #4C3360

    #4C3360

    oklch(37.1% 0.08 308.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334816

    #334816

    oklch(37.2% 0.079 129)

  • #4B4000

    #4B4000

    oklch(37.2% 0.077 98.2)

  • #0C4D31

    #0C4D31

    oklch(37.3% 0.079 159.2)

Open the analogous palette in the generator

Split complementary

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

  • #334816

    #334816

    oklch(37.2% 0.079 129)

  • #383B69

    #383B69

    oklch(37.3% 0.078 279)

  • #5B2E4E

    #5B2E4E

    oklch(37.2% 0.08 339)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334816

    #334816

    oklch(37.2% 0.079 129)

  • #1A4368

    #1A4368

    oklch(37.3% 0.078 248.7)

  • #632C37

    #632C37

    oklch(37.2% 0.08 9.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334816

    #334816

    oklch(37.2% 0.079 129)

  • #004858

    #004858

    oklch(37.1% 0.067 219)

  • #4C3360

    #4C3360

    oklch(37.1% 0.08 308.6)

  • #63301F

    #63301F

    oklch(37.3% 0.079 39)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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