#0C8504

Closest named color: Green (#008000). oklch(53.6% 0.179 142.2), rgb(12, 133, 4).

Aa

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

About this color

#0C8504 is a medium-dark, vivid green. In OKLCH its lightness is 54%, its chroma 0.179 and its hue 142°. 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.80:1.

Hue familyGreens
Lightnessmedium-dark (54%)
Chromavivid (0.179)
Temperaturein between
Nearest nameGreen (#008000)
Black text4.37:1
White text4.80:1

Values

HEX#0C8504
RGBrgb(12, 133, 4)
HSLhsl(116, 94%, 27%)
OKLCHoklch(53.6% 0.179 142.2)

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 #0C8504 4.80:1 AA Lc -78.1 Fine for body text
Black text on #0C8504 4.37:1 AA large text Lc 31.5 Non-text elements, placeholder text
#0C8504 text on white 4.80:1 AA Lc 72.6 Content text, not long reading
#0C8504 text on black 4.37:1 AA large text Lc -29.1 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

    #F1F7F1

    oklch(97% 0.01 145.5)

  2. Step 100

    100

    #E1EEE0

    oklch(93.6% 0.023 143.4)

  3. Step 200

    200

    #C9E1C6

    oklch(88.5% 0.045 142.1)

  4. Step 300

    300

    #A3CE9E

    oklch(80.8% 0.08 142.1)

  5. Step 400

    400

    #6FB568

    oklch(70.8% 0.13 142.1)

  6. Step 500

    500

    #43A13C

    oklch(63% 0.165 142.2)

  7. Step 600

    600 (this color)

    #0C8504

    oklch(53.6% 0.179 142.2)

  8. Step 700

    700

    #067600

    oklch(49.1% 0.166 142.2)

  9. Step 800

    800

    #0E6009

    oklch(42.6% 0.137 142.2)

  10. Step 900

    900

    #174F13

    oklch(37.7% 0.108 142.2)

  11. Step 950

    950

    #0F2E0D

    oklch(26.9% 0.068 142.4)

Export this scale for Tailwind in the Tailwind colors tool

#0C8504 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)#8877000.127
Deuteranopia (no green cones)#7C6F1B0.124
Tritanopia (no blue cones)#0081700.117
Achromatopsia (no color)#7272720.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C8504

    #0C8504

    oklch(53.6% 0.179 142.2)

  • #9B40A9

    #9B40A9

    oklch(53.6% 0.178 322.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C8504

    #0C8504

    oklch(53.6% 0.179 142.2)

  • #6F7300

    #6F7300

    oklch(53.4% 0.118 112.2)

  • #008067

    #008067

    oklch(53.5% 0.103 172.7)

Open the analogous palette in the generator

Split complementary

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

  • #0C8504

    #0C8504

    oklch(53.6% 0.179 142.2)

  • #7351CA

    #7351CA

    oklch(53.5% 0.179 292.2)

  • #B53278

    #B53278

    oklch(53.6% 0.179 352.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C8504

    #0C8504

    oklch(53.6% 0.179 142.2)

  • #2F66D3

    #2F66D3

    oklch(53.6% 0.178 262.1)

  • #BF303A

    #BF303A

    oklch(53.5% 0.179 22.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C8504

    #0C8504

    oklch(53.6% 0.179 142.2)

  • #0077A2

    #0077A2

    oklch(53.5% 0.11 232.6)

  • #9B40A9

    #9B40A9

    oklch(53.6% 0.178 322.1)

  • #A95100

    #A95100

    oklch(53.5% 0.138 52)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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