#152F23

Closest named color: Pakistan Green (#283618). oklch(28% 0.039 162.4), rgb(21, 47, 35).

Aa

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

About this color

#152F23 is a dark, muted green. In OKLCH its lightness is 28%, its chroma 0.039 and its hue 162°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.043 away. White text reads best on it, at 14.35:1.

Hue familyGreens
Lightnessdark (28%)
Chromamuted (0.039)
Temperaturein between
Nearest namePakistan Green (#283618)
Black text1.46:1
White text14.35:1

Values

HEX#152F23
RGBrgb(21, 47, 35)
HSLhsl(152, 38%, 13%)
OKLCHoklch(28% 0.039 162.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 #152F23 14.35:1 AAA Lc -104.0 Preferred for body text
Black text on #152F23 1.46:1 Fails Lc 0.0 Not readable
#152F23 text on white 14.35:1 AAA Lc 101.0 Preferred for body text
#152F23 text on black 1.46: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

    #F2F7F4

    oklch(97.2% 0.007 160.1)

  2. Step 100

    100

    #E2EDE7

    oklch(93.6% 0.014 162.5)

  3. Step 200

    200

    #CBDFD4

    oklch(88.6% 0.026 161.9)

  4. Step 300

    300

    #A6CBB8

    oklch(81% 0.048 162.8)

  5. Step 400

    400

    #75B093

    oklch(70.8% 0.075 162.4)

  6. Step 500

    500

    #4D9C78

    oklch(63.2% 0.096 162.1)

  7. Step 600

    600

    #2A8661

    oklch(55.6% 0.104 162.5)

  8. Step 700

    700

    #1B7150

    oklch(49% 0.096 162.6)

  9. Step 800

    800

    #1A5C42

    oklch(42.6% 0.079 163)

  10. Step 900

    900

    #1D4C38

    oklch(37.8% 0.062 162.9)

  11. Step 950

    950 (this color)

    #152F23

    oklch(28% 0.039 162.4)

Export this scale for Tailwind in the Tailwind colors tool

#152F23 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)#2E2C220.038
Deuteranopia (no green cones)#2A29240.037
Tritanopia (no blue cones)#0E2F2C0.017
Achromatopsia (no color)#2A2A2A0.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #152F23

    #152F23

    oklch(28% 0.039 162.4)

  • #36212E

    #36212E

    oklch(27.9% 0.039 342.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #152F23

    #152F23

    oklch(28% 0.039 162.4)

  • #212D18

    #212D18

    oklch(27.9% 0.04 132.7)

  • #0C2F2E

    #0C2F2E

    oklch(28% 0.04 192.5)

Open the analogous palette in the generator

Split complementary

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

  • #152F23

    #152F23

    oklch(28% 0.039 162.4)

  • #302337

    #302337

    oklch(28% 0.04 313.4)

  • #3A2124

    #3A2124

    oklch(28.1% 0.039 12.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #152F23

    #152F23

    oklch(28% 0.039 162.4)

  • #26263C

    #26263C

    oklch(27.9% 0.04 283.5)

  • #392219

    #392219

    oklch(27.9% 0.039 42.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #152F23

    #152F23

    oklch(28% 0.039 162.4)

  • #1A2A3C

    #1A2A3C

    oklch(28% 0.04 252.1)

  • #36212E

    #36212E

    oklch(27.9% 0.039 342.2)

  • #352612

    #352612

    oklch(28.1% 0.039 73)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #152F23 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.