#0C8271

Closest named color: Teal (#008080). oklch(54.4% 0.097 179.1), rgb(12, 130, 113).

Aa

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

About this color

#0C8271 is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 54%, its chroma 0.097 and its hue 179°. Its hue sits on the cool side of the wheel. The nearest named color is Teal (#008080), ΔE 0.026 away. White text reads best on it, at 4.72:1.

Hue familyTeals and cyans
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.097)
Temperaturecool
Nearest nameTeal (#008080)
Black text4.44:1
White text4.72:1

Values

HEX#0C8271
RGBrgb(12, 130, 113)
HSLhsl(171, 83%, 28%)
OKLCHoklch(54.4% 0.097 179.1)

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 #0C8271 4.72:1 AA Lc -77.7 Fine for body text
Black text on #0C8271 4.44:1 AA large text Lc 31.8 Non-text elements, placeholder text
#0C8271 text on white 4.72:1 AA Lc 72.3 Content text, not long reading
#0C8271 text on black 4.44:1 AA large text Lc -29.4 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 600.

  1. Step 50

    50

    #F2F7F5

    oklch(97.2% 0.006 170.4)

  2. Step 100

    100

    #E1EDEA

    oklch(93.6% 0.013 179.5)

  3. Step 200

    200

    #C9DFD9

    oklch(88.6% 0.025 177.6)

  4. Step 300

    300

    #A3CAC1

    oklch(80.8% 0.043 179.5)

  5. Step 400

    400

    #6EAFA1

    oklch(70.6% 0.07 179)

  6. Step 500

    500

    #429B8A

    oklch(63.1% 0.089 178.7)

  7. Step 600

    600 (this color)

    #0C8271

    oklch(54.4% 0.097 179.1)

  8. Step 700

    700

    #007162

    oklch(49.1% 0.09 179.3)

  9. Step 800

    800

    #0A5C50

    oklch(42.7% 0.075 179.5)

  10. Step 900

    900

    #164C42

    oklch(37.8% 0.059 178.3)

  11. Step 950

    950

    #0F2C27

    oklch(26.9% 0.036 180.5)

Export this scale for Tailwind in the Tailwind colors tool

#0C8271 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)#7C79700.102
Deuteranopia (no green cones)#6E6F720.097
Tritanopia (no blue cones)#00847D0.018
Achromatopsia (no color)#7373730.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C8271

    #0C8271

    oklch(54.4% 0.097 179.1)

  • #9D566E

    #9D566E

    oklch(54.3% 0.098 359.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C8271

    #0C8271

    oklch(54.4% 0.097 179.1)

  • #437F50

    #437F50

    oklch(54.3% 0.096 149.3)

  • #007E8D

    #007E8D

    oklch(54.3% 0.094 209.3)

Open the analogous palette in the generator

Split complementary

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

  • #0C8271

    #0C8271

    oklch(54.4% 0.097 179.1)

  • #8F5A8C

    #8F5A8C

    oklch(54.4% 0.098 328.8)

  • #A1594E

    #A1594E

    oklch(54.5% 0.097 29.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C8271

    #0C8271

    oklch(54.4% 0.097 179.1)

  • #7862A0

    #7862A0

    oklch(54.3% 0.097 299.5)

  • #996131

    #996131

    oklch(54.4% 0.096 59.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C8271

    #0C8271

    oklch(54.4% 0.097 179.1)

  • #596DA9

    #596DA9

    oklch(54.5% 0.097 269)

  • #9D566E

    #9D566E

    oklch(54.3% 0.098 359.3)

  • #876C21

    #876C21

    oklch(54.4% 0.097 88.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0C8271 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.