#04742E

Closest named color: Tree Green (#2A7E19). oklch(48.8% 0.138 148.4), rgb(4, 116, 46).

Aa

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

About this color

#04742E is a medium-dark, moderately saturated green. In OKLCH its lightness is 49%, its chroma 0.138 and its hue 148°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.043 away. White text reads best on it, at 5.92:1.

Hue familyGreens
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.138)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text3.54:1
White text5.92:1

Values

HEX#04742E
RGBrgb(4, 116, 46)
HSLhsl(143, 93%, 24%)
OKLCHoklch(48.8% 0.138 148.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 #04742E 5.92:1 AA Lc -84.3 Fine for body text
Black text on #04742E 3.54:1 AA large text Lc 25.0 Dividers and decoration only
#04742E text on white 5.92:1 AA Lc 79.0 Fine for body text
#04742E text on black 3.54:1 AA large text Lc -22.8 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

    #C9E0CC

    oklch(88.4% 0.037 149.1)

  4. Step 300

    300

    #A4CDA9

    oklch(80.9% 0.066 148.3)

  5. Step 400

    400

    #70B37B

    oklch(70.7% 0.106 148.4)

  6. Step 500

    500

    #44A058

    oklch(63.2% 0.138 148.3)

  7. Step 600

    600

    #1B8A3D

    oklch(55.7% 0.149 148.4)

  8. Step 700

    700 (this color)

    #04742E

    oklch(48.8% 0.138 148.4)

  9. Step 800

    800

    #0F5F28

    oklch(42.7% 0.114 148.5)

  10. Step 900

    900

    #174E25

    oklch(37.7% 0.089 148.6)

  11. Step 950

    950

    #102E16

    oklch(27.1% 0.057 148.1)

Export this scale for Tailwind in the Tailwind colors tool

#04742E 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)#7569270.109
Deuteranopia (no green cones)#6A61340.109
Tritanopia (no blue cones)#0071650.082
Achromatopsia (no color)#6464640.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #04742E

    #04742E

    oklch(48.8% 0.138 148.4)

  • #883E86

    #883E86

    oklch(48.8% 0.138 328.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04742E

    #04742E

    oklch(48.8% 0.138 148.4)

  • #5A6800

    #5A6800

    oklch(48.8% 0.114 118.5)

  • #007060

    #007060

    oklch(48.8% 0.09 178.3)

Open the analogous palette in the generator

Split complementary

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

  • #04742E

    #04742E

    oklch(48.8% 0.138 148.4)

  • #6B4AA3

    #6B4AA3

    oklch(48.8% 0.139 298.2)

  • #9A375F

    #9A375F

    oklch(48.9% 0.138 358.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04742E

    #04742E

    oklch(48.8% 0.138 148.4)

  • #3F59AD

    #3F59AD

    oklch(48.9% 0.137 268.1)

  • #9F392F

    #9F392F

    oklch(48.8% 0.138 28.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04742E

    #04742E

    oklch(48.8% 0.138 148.4)

  • #006796

    #006796

    oklch(48.8% 0.109 238.4)

  • #883E86

    #883E86

    oklch(48.8% 0.138 328.5)

  • #8F4C00

    #8F4C00

    oklch(48.8% 0.116 58.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #04742E 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.