#0C841B

Closest named color: Green (#008000). oklch(53.4% 0.17 143.8), rgb(12, 132, 27).

Aa

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

About this color

#0C841B is a medium-dark, vivid green. In OKLCH its lightness is 53%, its chroma 0.170 and its hue 144°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Green (#008000), ΔE 0.016 away. White text reads best on it, at 4.84:1.

Hue familyGreens
Lightnessmedium-dark (53%)
Chromavivid (0.170)
Temperaturein between
Nearest nameGreen (#008000)
Black text4.33:1
White text4.84:1

Values

HEX#0C841B
RGBrgb(12, 132, 27)
HSLhsl(128, 83%, 28%)
OKLCHoklch(53.4% 0.17 143.8)

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 #0C841B 4.84:1 AA Lc -78.4 Fine for body text
Black text on #0C841B 4.33:1 AA large text Lc 31.1 Non-text elements, placeholder text
#0C841B text on white 4.84:1 AA Lc 73.0 Content text, not long reading
#0C841B text on black 4.33:1 AA large text Lc -28.7 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

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E1EEE1

    oklch(93.6% 0.022 145.4)

  3. Step 200

    200

    #C9E1C8

    oklch(88.5% 0.042 144.1)

  4. Step 300

    300

    #A3CEA2

    oklch(80.9% 0.076 144.3)

  5. Step 400

    400

    #6FB46E

    oklch(70.6% 0.122 143.8)

  6. Step 500

    500

    #44A146

    oklch(63.2% 0.156 143.8)

  7. Step 600

    600 (this color)

    #0C841B

    oklch(53.4% 0.17 143.8)

  8. Step 700

    700

    #067615

    oklch(49.2% 0.158 143.7)

  9. Step 800

    800

    #0E6015

    oklch(42.7% 0.131 143.7)

  10. Step 900

    900

    #174F19

    oklch(37.8% 0.103 143.7)

  11. Step 950

    950

    #102E10

    oklch(27% 0.064 143.6)

Export this scale for Tailwind in the Tailwind colors tool

#0C841B 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)#8777010.122
Deuteranopia (no green cones)#7B6E270.123
Tritanopia (no blue cones)#0080700.108
Achromatopsia (no color)#7171710.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C841B

    #0C841B

    oklch(53.4% 0.17 143.8)

  • #9A42A3

    #9A42A3

    oklch(53.3% 0.169 323.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C841B

    #0C841B

    oklch(53.4% 0.17 143.8)

  • #6D7400

    #6D7400

    oklch(53.5% 0.12 113.9)

  • #008068

    #008068

    oklch(53.5% 0.102 173.5)

Open the analogous palette in the generator

Split complementary

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

  • #0C841B

    #0C841B

    oklch(53.4% 0.17 143.8)

  • #7552C4

    #7552C4

    oklch(53.4% 0.171 294)

  • #B23674

    #B23674

    oklch(53.4% 0.17 353.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C841B

    #0C841B

    oklch(53.4% 0.17 143.8)

  • #3765CE

    #3765CE

    oklch(53.3% 0.171 263.8)

  • #BB3639

    #BB3639

    oklch(53.4% 0.17 23.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C841B

    #0C841B

    oklch(53.4% 0.17 143.8)

  • #0076A3

    #0076A3

    oklch(53.3% 0.112 234)

  • #9A42A3

    #9A42A3

    oklch(53.3% 0.169 323.9)

  • #A65200

    #A65200

    oklch(53.2% 0.134 53.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #0C841B.

Similar named colors

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

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