#51812F

Closest named color: Olive Green (#677A04). oklch(55% 0.125 134.4), rgb(81, 129, 47).

Aa

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

About this color

#51812F is a medium-dark, moderately saturated green. In OKLCH its lightness is 55%, its chroma 0.125 and its hue 134°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Olive Green (#677A04), ΔE 0.032 away. White text reads best on it, at 4.63:1.

Hue familyGreens
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest nameOlive Green (#677A04)
Black text4.53:1
White text4.63:1

Values

HEX#51812F
RGBrgb(81, 129, 47)
HSLhsl(95, 47%, 35%)
OKLCHoklch(55% 0.125 134.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 #51812F 4.63:1 AA Lc -77.5 Fine for body text
Black text on #51812F 4.53:1 AA Lc 32.1 Non-text elements, placeholder text
#51812F text on white 4.63:1 AA Lc 72.0 Content text, not long reading
#51812F text on black 4.53:1 AA Lc -29.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 600.

  1. Step 50

    50

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E5ECE2

    oklch(93.5% 0.015 136.1)

  3. Step 200

    200

    #D1DECA

    oklch(88.5% 0.03 134.4)

  4. Step 300

    300

    #B2C9A5

    oklch(80.9% 0.055 134.2)

  5. Step 400

    400

    #89AD74

    oklch(70.6% 0.089 134.4)

  6. Step 500

    500

    #6B994F

    oklch(63.2% 0.115 134.7)

  7. Step 600

    600 (this color)

    #51812F

    oklch(55% 0.125 134.4)

  8. Step 700

    700

    #436E23

    oklch(49% 0.115 134.3)

  9. Step 800

    800

    #375A1F

    oklch(42.7% 0.096 134.6)

  10. Step 900

    900

    #304A1F

    oklch(37.7% 0.075 134.4)

  11. Step 950

    950

    #1C2B13

    oklch(26.8% 0.047 134.7)

Export this scale for Tailwind in the Tailwind colors tool

#51812F 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)#8677260.075
Deuteranopia (no green cones)#7F73350.075
Tritanopia (no blue cones)#517C700.092
Achromatopsia (no color)#7575750.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #51812F

    #51812F

    oklch(55% 0.125 134.4)

  • #8C59A4

    #8C59A4

    oklch(55% 0.125 314.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51812F

    #51812F

    oklch(55% 0.125 134.4)

  • #7D7400

    #7D7400

    oklch(55% 0.116 104.2)

  • #008660

    #008660

    oklch(54.9% 0.116 164.9)

Open the analogous palette in the generator

Split complementary

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

  • #51812F

    #51812F

    oklch(55% 0.125 134.4)

  • #6A65B7

    #6A65B7

    oklch(54.9% 0.125 284.3)

  • #A35183

    #A35183

    oklch(55.1% 0.124 344.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51812F

    #51812F

    oklch(55% 0.125 134.4)

  • #3973B8

    #3973B8

    oklch(55% 0.124 254.3)

  • #AE4F5B

    #AE4F5B

    oklch(55.1% 0.124 14.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51812F

    #51812F

    oklch(55% 0.125 134.4)

  • #007E9F

    #007E9F

    oklch(55.1% 0.104 224.5)

  • #8C59A4

    #8C59A4

    oklch(55% 0.125 314.2)

  • #AC562D

    #AC562D

    oklch(55.1% 0.125 44.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #51812F 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.