#04712C

Closest named color: Dark Green (#006400). oklch(47.9% 0.136 148.2), rgb(4, 113, 44).

Aa

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

About this color

#04712C is a medium-dark, moderately saturated green. In OKLCH its lightness is 48%, its chroma 0.136 and its hue 148°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Green (#006400), ΔE 0.047 away. White text reads best on it, at 6.16:1.

Hue familyGreens
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.136)
Temperaturein between
Nearest nameDark Green (#006400)
Black text3.40:1
White text6.16:1

Values

HEX#04712C
RGBrgb(4, 113, 44)
HSLhsl(142, 93%, 23%)
OKLCHoklch(47.9% 0.136 148.2)

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 #04712C 6.16:1 AA Lc -85.4 Fine for body text
Black text on #04712C 3.40:1 AA large text Lc 23.9 Dividers and decoration only
#04712C text on white 6.16:1 AA Lc 80.2 Fine for body text
#04712C text on black 3.40:1 AA large text Lc -21.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 700.

  1. Step 50

    50

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E2EEE3

    oklch(93.7% 0.019 147.8)

  3. Step 200

    200

    #CAE0CC

    oklch(88.5% 0.036 147.9)

  4. Step 300

    300

    #A4CDA9

    oklch(80.9% 0.066 148.3)

  5. Step 400

    400

    #71B37B

    oklch(70.8% 0.106 148.1)

  6. Step 500

    500

    #469F59

    oklch(63% 0.134 148.4)

  7. Step 600

    600

    #1F893E

    oklch(55.5% 0.145 148.4)

  8. Step 700

    700 (this color)

    #04712C

    oklch(47.9% 0.136 148.2)

  9. Step 800

    800

    #125F28

    oklch(42.7% 0.113 148.1)

  10. Step 900

    900

    #194E25

    oklch(37.7% 0.088 148.1)

  11. Step 950

    950

    #102E16

    oklch(27.1% 0.057 148.1)

Export this scale for Tailwind in the Tailwind colors tool

#04712C 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)#7266250.108
Deuteranopia (no green cones)#675E320.107
Tritanopia (no blue cones)#006E620.080
Achromatopsia (no color)#6161610.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #04712C

    #04712C

    oklch(47.9% 0.136 148.2)

  • #853C83

    #853C83

    oklch(47.9% 0.136 328.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04712C

    #04712C

    oklch(47.9% 0.136 148.2)

  • #586500

    #586500

    oklch(47.9% 0.112 118.1)

  • #006D5E

    #006D5E

    oklch(47.9% 0.088 178.9)

Open the analogous palette in the generator

Split complementary

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

  • #04712C

    #04712C

    oklch(47.9% 0.136 148.2)

  • #68489F

    #68489F

    oklch(47.9% 0.136 298)

  • #96355D

    #96355D

    oklch(47.9% 0.136 358)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04712C

    #04712C

    oklch(47.9% 0.136 148.2)

  • #3D56A9

    #3D56A9

    oklch(47.8% 0.136 268.3)

  • #9C372E

    #9C372E

    oklch(48% 0.137 28.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04712C

    #04712C

    oklch(47.9% 0.136 148.2)

  • #006492

    #006492

    oklch(47.8% 0.107 238.5)

  • #853C83

    #853C83

    oklch(47.9% 0.136 328.5)

  • #8C4A00

    #8C4A00

    oklch(48% 0.115 58.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #04712C 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.