#334A22

Closest named color: Dark Olive (#373E02). oklch(37.9% 0.069 133.3), rgb(51, 74, 34).

Aa

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

About this color

#334A22 is a dark, muted green. In OKLCH its lightness is 38%, its chroma 0.069 and its hue 133°. 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 9.79:1.

Hue familyGreens
Lightnessdark (38%)
Chromamuted (0.069)
Temperaturein between
Nearest nameDark Olive (#373E02)
Black text2.14:1
White text9.79:1

Values

HEX#334A22
RGBrgb(51, 74, 34)
HSLhsl(95, 37%, 21%)
OKLCHoklch(37.9% 0.069 133.3)

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 #334A22 9.79:1 AAA Lc -96.8 Preferred for body text
Black text on #334A22 2.14:1 Fails Lc 11.3 Not readable
#334A22 text on white 9.79:1 AAA Lc 92.6 Preferred for body text
#334A22 text on black 2.14:1 Fails Lc -9.8 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

    #E6ECE2

    oklch(93.6% 0.015 132.5)

  3. Step 200

    200

    #D2DECA

    oklch(88.6% 0.03 132.6)

  4. Step 300

    300

    #B4C8A6

    oklch(80.8% 0.052 132.4)

  5. Step 400

    400

    #8CAC77

    oklch(70.7% 0.082 133.5)

  6. Step 500

    500

    #6F9752

    oklch(63% 0.107 133.3)

  7. Step 600

    600

    #578136

    oklch(55.5% 0.115 133.3)

  8. Step 700

    700

    #476D28

    oklch(49% 0.107 133.3)

  9. Step 800

    800

    #3B5923

    oklch(42.7% 0.088 133.2)

  10. Step 900

    900 (this color)

    #334A22

    oklch(37.9% 0.069 133.3)

  11. Step 950

    950

    #1E2B14

    oklch(27% 0.044 132.7)

Export this scale for Tailwind in the Tailwind colors tool

#334A22 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)#4D451F0.042
Deuteranopia (no green cones)#4943240.040
Tritanopia (no blue cones)#3347410.052
Achromatopsia (no color)#4444440.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #334A22

    #334A22

    oklch(37.9% 0.069 133.3)

  • #4F375C

    #4F375C

    oklch(38% 0.068 313.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334A22

    #334A22

    oklch(37.9% 0.069 133.3)

  • #494411

    #494411

    oklch(38.1% 0.069 103.7)

  • #164E38

    #164E38

    oklch(38.1% 0.069 163.3)

Open the analogous palette in the generator

Split complementary

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

  • #334A22

    #334A22

    oklch(37.9% 0.069 133.3)

  • #3D3D66

    #3D3D66

    oklch(38% 0.069 282.6)

  • #5B324C

    #5B324C

    oklch(37.8% 0.07 342.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334A22

    #334A22

    oklch(37.9% 0.069 133.3)

  • #264466

    #264466

    oklch(38% 0.069 252.7)

  • #623237

    #623237

    oklch(38.1% 0.069 14.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334A22

    #334A22

    oklch(37.9% 0.069 133.3)

  • #044A5D

    #044A5D

    oklch(38% 0.069 222.9)

  • #4F375C

    #4F375C

    oklch(38% 0.068 313.1)

  • #613522

    #613522

    oklch(38% 0.07 43.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #334A22 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.