#04501F

Closest named color: Pine Green (#0A481E). oklch(37.7% 0.105 148.7), rgb(4, 80, 31).

Aa

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

About this color

#04501F is a dark, moderately saturated green. In OKLCH its lightness is 38%, its chroma 0.105 and its hue 149°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine Green (#0A481E), ΔE 0.027 away. White text reads best on it, at 9.66:1.

Hue familyGreens
Lightnessdark (38%)
Chromamoderately saturated (0.105)
Temperaturein between
Nearest namePine Green (#0A481E)
Black text2.17:1
White text9.66:1

Values

HEX#04501F
RGBrgb(4, 80, 31)
HSLhsl(141, 90%, 16%)
OKLCHoklch(37.7% 0.105 148.7)

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 #04501F 9.66:1 AAA Lc -96.2 Preferred for body text
Black text on #04501F 2.17:1 Fails Lc 12.1 Not readable
#04501F text on white 9.66:1 AAA Lc 91.9 Preferred for body text
#04501F text on black 2.17:1 Fails Lc -10.5 Not readable

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 900.

  1. Step 50

    50

    #F1F7F2

    oklch(97% 0.009 150.7)

  2. Step 100

    100

    #E0EEE2

    oklch(93.5% 0.022 149.7)

  3. Step 200

    200

    #C6E2CA

    oklch(88.6% 0.044 149.4)

  4. Step 300

    300

    #9ECFA5

    oklch(80.9% 0.078 148.7)

  5. Step 400

    400

    #64B674

    oklch(70.7% 0.125 148.7)

  6. Step 500

    500

    #2CA34F

    oklch(63.2% 0.16 148.8)

  7. Step 600

    600

    #008B39

    oklch(55.6% 0.158 148.7)

  8. Step 700

    700

    #00752F

    oklch(49.1% 0.139 148.8)

  9. Step 800

    800

    #006025

    oklch(42.7% 0.121 148.7)

  10. Step 900

    900 (this color)

    #04501F

    oklch(37.7% 0.105 148.7)

  11. Step 950

    950

    #082F13

    oklch(27% 0.066 148.9)

Export this scale for Tailwind in the Tailwind colors tool

#04501F 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)#51481A0.084
Deuteranopia (no green cones)#4942230.084
Tritanopia (no blue cones)#004E450.060
Achromatopsia (no color)#4444440.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #04501F

    #04501F

    oklch(37.7% 0.105 148.7)

  • #5F2A5D

    #5F2A5D

    oklch(37.9% 0.105 328.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04501F

    #04501F

    oklch(37.7% 0.105 148.7)

  • #3D4800

    #3D4800

    oklch(37.8% 0.089 119.1)

  • #004D42

    #004D42

    oklch(37.6% 0.069 179)

Open the analogous palette in the generator

Split complementary

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

  • #04501F

    #04501F

    oklch(37.7% 0.105 148.7)

  • #4A3271

    #4A3271

    oklch(37.7% 0.105 298.8)

  • #6B2541

    #6B2541

    oklch(37.8% 0.104 358.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04501F

    #04501F

    oklch(37.7% 0.105 148.7)

  • #2B3C79

    #2B3C79

    oklch(37.7% 0.106 269.1)

  • #6F261F

    #6F261F

    oklch(37.7% 0.105 28.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04501F

    #04501F

    oklch(37.7% 0.105 148.7)

  • #004769

    #004769

    oklch(37.8% 0.084 238.3)

  • #5F2A5D

    #5F2A5D

    oklch(37.9% 0.105 328.8)

  • #643300

    #643300

    oklch(37.7% 0.09 58)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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