#2A6338

Closest named color: Pine (#2B5D34). oklch(44.9% 0.092 149.4), rgb(42, 99, 56).

Aa

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

About this color

#2A6338 is a dark, moderately saturated green. In OKLCH its lightness is 45%, its chroma 0.092 and its hue 149°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.019 away. White text reads best on it, at 7.14:1.

Hue familyGreens
Lightnessdark (45%)
Chromamoderately saturated (0.092)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.94:1
White text7.14:1

Values

HEX#2A6338
RGBrgb(42, 99, 56)
HSLhsl(135, 40%, 28%)
OKLCHoklch(44.9% 0.092 149.4)

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 #2A6338 7.14:1 AAA Lc -89.5 Fine for body text
Black text on #2A6338 2.94:1 Fails Lc 19.5 Dividers and decoration only
#2A6338 text on white 7.14:1 AAA Lc 84.6 Fine for body text
#2A6338 text on black 2.94:1 Fails Lc -17.4 Dividers and decoration only

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 800.

  1. Step 50

    50

    #F2F7F3

    oklch(97.1% 0.007 151.9)

  2. Step 100

    100

    #E3EDE4

    oklch(93.6% 0.016 148.4)

  3. Step 200

    200

    #CCDFCF

    oklch(88.5% 0.03 150.1)

  4. Step 300

    300

    #A9CBAE

    oklch(80.9% 0.054 149.2)

  5. Step 400

    400

    #7AB084

    oklch(70.7% 0.086 149.6)

  6. Step 500

    500

    #559C64

    oklch(63.1% 0.111 149.2)

  7. Step 600

    600

    #37864B

    oklch(55.6% 0.119 149.3)

  8. Step 700

    700

    #28723C

    oklch(49.2% 0.112 149.3)

  9. Step 800

    800 (this color)

    #2A6338

    oklch(44.9% 0.092 149.4)

  10. Step 900

    900

    #224C2C

    oklch(37.7% 0.072 149.6)

  11. Step 950

    950

    #152D1A

    oklch(27.1% 0.046 149.2)

Export this scale for Tailwind in the Tailwind colors tool

#2A6338 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)#645B350.076
Deuteranopia (no green cones)#5C563B0.074
Tritanopia (no blue cones)#1D61580.051
Achromatopsia (no color)#5858580.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A6338

    #2A6338

    oklch(44.9% 0.092 149.4)

  • #71416E

    #71416E

    oklch(45% 0.092 329.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A6338

    #2A6338

    oklch(44.9% 0.092 149.4)

  • #4F5C18

    #4F5C18

    oklch(44.9% 0.092 119.7)

  • #006456

    #006456

    oklch(45% 0.082 178.8)

Open the analogous palette in the generator

Split complementary

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

  • #2A6338

    #2A6338

    oklch(44.9% 0.092 149.4)

  • #5D4881

    #5D4881

    oklch(44.9% 0.093 299.6)

  • #7D3D54

    #7D3D54

    oklch(44.9% 0.092 358.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A6338

    #2A6338

    oklch(44.9% 0.092 149.4)

  • #415288

    #415288

    oklch(45% 0.091 269.3)

  • #803F36

    #803F36

    oklch(44.8% 0.092 29.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A6338

    #2A6338

    oklch(44.9% 0.092 149.4)

  • #155B82

    #155B82

    oklch(44.9% 0.092 239)

  • #71416E

    #71416E

    oklch(45% 0.092 329.2)

  • #7A4717

    #7A4717

    oklch(45% 0.092 59.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2A6338 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.