#4E7212

Closest named color: Dark Olive Green (#556B2F). oklch(50.6% 0.126 129), rgb(78, 114, 18).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.126)
Temperaturein between
Nearest nameDark Olive Green (#556B2F)
Black text3.73:1
White text5.61:1

Values

HEX#4E7212
RGBrgb(78, 114, 18)
HSLhsl(83, 73%, 26%)
OKLCHoklch(50.6% 0.126 129)

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 #4E7212 5.61:1 AA Lc -83.2 Fine for body text
Black text on #4E7212 3.73:1 AA large text Lc 26.2 Dividers and decoration only
#4E7212 text on white 5.61:1 AA Lc 77.9 Fine for body text
#4E7212 text on black 3.73:1 AA large text Lc -23.9 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

    #F4F7F1

    oklch(97.2% 0.009 128.6)

  2. Step 100

    100

    #E6ECE0

    oklch(93.5% 0.017 128.7)

  3. Step 200

    200

    #D2DEC7

    oklch(88.5% 0.034 129.7)

  4. Step 300

    300

    #B4C99F

    oklch(80.9% 0.062 129.3)

  5. Step 400

    400

    #8EAD6A

    oklch(70.8% 0.098 128.9)

  6. Step 500

    500

    #729840

    oklch(63.2% 0.125 129)

  7. Step 600

    600

    #5A821A

    oklch(55.7% 0.136 129.1)

  8. Step 700

    700 (this color)

    #4E7212

    oklch(50.6% 0.126 129)

  9. Step 800

    800

    #3D590F

    oklch(42.6% 0.103 128.8)

  10. Step 900

    900

    #344A16

    oklch(37.8% 0.081 129.2)

  11. Step 950

    950

    #1E2B0E

    oklch(26.9% 0.052 129.4)

Export this scale for Tailwind in the Tailwind colors tool

#4E7212 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)#7869000.063
Deuteranopia (no green cones)#73671D0.064
Tritanopia (no blue cones)#516D610.099
Achromatopsia (no color)#6767670.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E7212

    #4E7212

    oklch(50.6% 0.126 129)

  • #7A4E9B

    #7A4E9B

    oklch(50.6% 0.126 308.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E7212

    #4E7212

    oklch(50.6% 0.126 129)

  • #746500

    #746500

    oklch(50.6% 0.105 99.1)

  • #00784C

    #00784C

    oklch(50.5% 0.116 159.3)

Open the analogous palette in the generator

Split complementary

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

  • #4E7212

    #4E7212

    oklch(50.6% 0.126 129)

  • #575AAB

    #575AAB

    oklch(50.5% 0.127 279.2)

  • #92447D

    #92447D

    oklch(50.6% 0.127 338.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E7212

    #4E7212

    oklch(50.6% 0.126 129)

  • #1A68A9

    #1A68A9

    oklch(50.6% 0.126 249)

  • #9F4156

    #9F4156

    oklch(50.7% 0.126 8.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E7212

    #4E7212

    oklch(50.6% 0.126 129)

  • #007188

    #007188

    oklch(50.7% 0.091 218.5)

  • #7A4E9B

    #7A4E9B

    oklch(50.6% 0.126 308.9)

  • #9F4728

    #9F4728

    oklch(50.7% 0.125 39.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4E7212 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.