#226828

Closest named color: Dark Green (#006400). oklch(45.8% 0.12 144.7), rgb(34, 104, 40).

Aa

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

About this color

#226828 is a medium-dark, moderately saturated green. In OKLCH its lightness is 46%, its chroma 0.120 and its hue 145°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Green (#006400), ΔE 0.037 away. White text reads best on it, at 6.82:1.

Hue familyGreens
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.120)
Temperaturein between
Nearest nameDark Green (#006400)
Black text3.07:1
White text6.82:1

Values

HEX#226828
RGBrgb(34, 104, 40)
HSLhsl(125, 51%, 27%)
OKLCHoklch(45.8% 0.12 144.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 #226828 6.82:1 AA Lc -88.2 Fine for body text
Black text on #226828 3.07:1 AA large text Lc 20.8 Dividers and decoration only
#226828 text on white 6.82:1 AA Lc 83.2 Fine for body text
#226828 text on black 3.07:1 AA large text Lc -18.7 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

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E2EEE2

    oklch(93.7% 0.02 145.4)

  3. Step 200

    200

    #CAE0CA

    oklch(88.4% 0.038 145.2)

  4. Step 300

    300

    #A5CDA5

    oklch(80.9% 0.07 144.9)

  5. Step 400

    400

    #73B374

    oklch(70.7% 0.112 144.6)

  6. Step 500

    500

    #4A9F4F

    oklch(63% 0.142 144.8)

  7. Step 600

    600

    #268A31

    oklch(55.7% 0.156 144.7)

  8. Step 700

    700

    #167523

    oklch(49.2% 0.145 144.7)

  9. Step 800

    800 (this color)

    #226828

    oklch(45.8% 0.12 144.7)

  10. Step 900

    900

    #1B4E1F

    oklch(37.7% 0.094 144.8)

  11. Step 950

    950

    #112E13

    oklch(27.1% 0.06 145)

Export this scale for Tailwind in the Tailwind colors tool

#226828 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)#6A5E210.090
Deuteranopia (no green cones)#61582D0.090
Tritanopia (no blue cones)#11655A0.074
Achromatopsia (no color)#5B5B5B0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #226828

    #226828

    oklch(45.8% 0.12 144.7)

  • #783D7C

    #783D7C

    oklch(45.9% 0.119 324.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #226828

    #226828

    oklch(45.8% 0.12 144.7)

  • #575D00

    #575D00

    oklch(45.7% 0.103 114.1)

  • #006754

    #006754

    oklch(45.8% 0.087 174.2)

Open the analogous palette in the generator

Split complementary

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

  • #226828

    #226828

    oklch(45.8% 0.12 144.7)

  • #5D4792

    #5D4792

    oklch(45.8% 0.119 294.8)

  • #88365B

    #88365B

    oklch(45.8% 0.119 354.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #226828

    #226828

    oklch(45.8% 0.12 144.7)

  • #35539A

    #35539A

    oklch(45.7% 0.121 264.8)

  • #8E3734

    #8E3734

    oklch(45.8% 0.119 24.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #226828

    #226828

    oklch(45.8% 0.12 144.7)

  • #005F85

    #005F85

    oklch(45.8% 0.097 234.6)

  • #783D7C

    #783D7C

    oklch(45.9% 0.119 324.9)

  • #864200

    #864200

    oklch(45.7% 0.114 54.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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