#02371B

Closest named color: Pakistan Green (#283618). oklch(29.6% 0.073 153.9), rgb(2, 55, 27).

Aa

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

About this color

#02371B is a dark, moderately saturated green. In OKLCH its lightness is 30%, its chroma 0.073 and its hue 154°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.037 away. White text reads best on it, at 13.41:1.

Hue familyGreens
Lightnessdark (30%)
Chromamoderately saturated (0.073)
Temperaturein between
Nearest namePakistan Green (#283618)
Black text1.56:1
White text13.41:1

Values

HEX#02371B
RGBrgb(2, 55, 27)
HSLhsl(148, 93%, 11%)
OKLCHoklch(29.6% 0.073 153.9)

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 #02371B 13.41:1 AAA Lc -102.7 Preferred for body text
Black text on #02371B 1.56:1 Fails Lc 0.0 Not readable
#02371B text on white 13.41:1 AAA Lc 99.5 Preferred for body text
#02371B text on black 1.56:1 Fails Lc 0.0 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 950.

  1. Step 50

    50

    #F0F8F2

    oklch(97.1% 0.012 153.7)

  2. Step 100

    100

    #DEEFE2

    oklch(93.6% 0.025 152.9)

  3. Step 200

    200

    #C2E3CB

    oklch(88.5% 0.048 153.8)

  4. Step 300

    300

    #94D1A7

    oklch(80.8% 0.086 154)

  5. Step 400

    400

    #4EB978

    oklch(70.6% 0.138 154)

  6. Step 500

    500

    #00A45A

    oklch(63.1% 0.159 153.9)

  7. Step 600

    600

    #008A4B

    oklch(55.6% 0.14 154)

  8. Step 700

    700

    #00743E

    oklch(49% 0.124 153.9)

  9. Step 800

    800

    #005F32

    oklch(42.6% 0.107 154.1)

  10. Step 900

    900

    #005029

    oklch(37.8% 0.096 153.9)

  11. Step 950

    950 (this color)

    #02371B

    oklch(29.6% 0.073 153.9)

Export this scale for Tailwind in the Tailwind colors tool

#02371B 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)#3731190.064
Deuteranopia (no green cones)#312D1D0.063
Tritanopia (no blue cones)#0036300.037
Achromatopsia (no color)#2F2F2F0.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #02371B

    #02371B

    oklch(29.6% 0.073 153.9)

  • #421D3C

    #421D3C

    oklch(29.6% 0.073 333.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #02371B

    #02371B

    oklch(29.6% 0.073 153.9)

  • #253200

    #253200

    oklch(29.4% 0.073 123.9)

  • #003530

    #003530

    oklch(29.6% 0.052 184.8)

Open the analogous palette in the generator

Split complementary

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

  • #02371B

    #02371B

    oklch(29.6% 0.073 153.9)

  • #35224A

    #35224A

    oklch(29.6% 0.073 304.2)

  • #491B29

    #491B29

    oklch(29.6% 0.072 3.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #02371B

    #02371B

    oklch(29.6% 0.073 153.9)

  • #222951

    #222951

    oklch(29.7% 0.073 273.7)

  • #4B1D12

    #4B1D12

    oklch(29.7% 0.073 34.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #02371B

    #02371B

    oklch(29.6% 0.073 153.9)

  • #00304E

    #00304E

    oklch(29.7% 0.072 243.2)

  • #421D3C

    #421D3C

    oklch(29.6% 0.073 333.7)

  • #442400

    #442400

    oklch(29.7% 0.068 63.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #02371B 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.