#227031

Closest named color: Dark Olive Green (#556B2F). oklch(48.3% 0.123 146.8), rgb(34, 112, 49).

Aa

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

About this color

#227031 is a medium-dark, moderately saturated green. In OKLCH its lightness is 48%, its chroma 0.123 and its hue 147°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive Green (#556B2F), ΔE 0.052 away. White text reads best on it, at 6.12:1.

Hue familyGreens
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.123)
Temperaturein between
Nearest nameDark Olive Green (#556B2F)
Black text3.43:1
White text6.12:1

Values

HEX#227031
RGBrgb(34, 112, 49)
HSLhsl(132, 53%, 29%)
OKLCHoklch(48.3% 0.123 146.8)

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 #227031 6.12:1 AA Lc -85.4 Fine for body text
Black text on #227031 3.43:1 AA large text Lc 23.8 Dividers and decoration only
#227031 text on white 6.12:1 AA Lc 80.2 Fine for body text
#227031 text on black 3.43:1 AA large text Lc -21.6 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 700.

  1. Step 50

    50

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E3EDE3

    oklch(93.6% 0.017 145.4)

  3. Step 200

    200

    #CCDFCD

    oklch(88.4% 0.032 146.8)

  4. Step 300

    300

    #A8CCAB

    oklch(81% 0.06 147.3)

  5. Step 400

    400

    #78B17E

    oklch(70.7% 0.095 147.1)

  6. Step 500

    500

    #539D5C

    oklch(63.1% 0.121 146.6)

  7. Step 600

    600

    #348742

    oklch(55.6% 0.131 146.8)

  8. Step 700

    700 (this color)

    #227031

    oklch(48.3% 0.123 146.8)

  9. Step 800

    800

    #215D2B

    oklch(42.6% 0.101 146.7)

  10. Step 900

    900

    #214D27

    oklch(37.8% 0.08 146.6)

  11. Step 950

    950

    #142D17

    oklch(27% 0.051 146.6)

Export this scale for Tailwind in the Tailwind colors tool

#227031 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)#71662B0.094
Deuteranopia (no green cones)#685F360.095
Tritanopia (no blue cones)#076D620.074
Achromatopsia (no color)#6262620.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #227031

    #227031

    oklch(48.3% 0.123 146.8)

  • #814282

    #814282

    oklch(48.2% 0.122 326.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #227031

    #227031

    oklch(48.3% 0.123 146.8)

  • #5B6600

    #5B6600

    oklch(48.4% 0.111 116.9)

  • #006E5D

    #006E5D

    oklch(48.1% 0.089 177.1)

Open the analogous palette in the generator

Split complementary

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

  • #227031

    #227031

    oklch(48.3% 0.123 146.8)

  • #664D9A

    #664D9A

    oklch(48.3% 0.121 296.6)

  • #923C60

    #923C60

    oklch(48.3% 0.122 356.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #227031

    #227031

    oklch(48.3% 0.123 146.8)

  • #3F59A3

    #3F59A3

    oklch(48.2% 0.123 267.2)

  • #973D37

    #973D37

    oklch(48.1% 0.122 26.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #227031

    #227031

    oklch(48.3% 0.123 146.8)

  • #006692

    #006692

    oklch(48.3% 0.105 236.8)

  • #814282

    #814282

    oklch(48.2% 0.122 326.7)

  • #8E4A00

    #8E4A00

    oklch(48.3% 0.117 57.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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