#0C8308

Closest named color: Green (#008000). oklch(53% 0.176 142.4), rgb(12, 131, 8).

Aa

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

About this color

#0C8308 is a medium-dark, vivid green. In OKLCH its lightness is 53%, its chroma 0.176 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.010 away. White text reads best on it, at 4.92:1.

Hue familyGreens
Lightnessmedium-dark (53%)
Chromavivid (0.176)
Temperaturein between
Nearest nameGreen (#008000)
Black text4.26:1
White text4.92:1

Values

HEX#0C8308
RGBrgb(12, 131, 8)
HSLhsl(118, 88%, 27%)
OKLCHoklch(53% 0.176 142.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 #0C8308 4.92:1 AA Lc -78.8 Fine for body text
Black text on #0C8308 4.26:1 AA large text Lc 30.7 Non-text elements, placeholder text
#0C8308 text on white 4.92:1 AA Lc 73.4 Content text, not long reading
#0C8308 text on black 4.26:1 AA large text Lc -28.3 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

    #E2EEE0

    oklch(93.6% 0.023 141.2)

  3. Step 200

    200

    #C9E1C6

    oklch(88.5% 0.045 142.1)

  4. Step 300

    300

    #A4CE9F

    oklch(80.9% 0.079 142.1)

  5. Step 400

    400

    #70B46A

    oklch(70.6% 0.126 142.3)

  6. Step 500

    500

    #44A13F

    oklch(63.1% 0.162 142.5)

  7. Step 600

    600 (this color)

    #0C8308

    oklch(53% 0.176 142.4)

  8. Step 700

    700

    #087605

    oklch(49.1% 0.164 142.4)

  9. Step 800

    800

    #10600D

    oklch(42.7% 0.135 142.4)

  10. Step 900

    900

    #184F15

    oklch(37.8% 0.106 142.4)

  11. Step 950

    950

    #102E0E

    oklch(26.9% 0.066 142.4)

Export this scale for Tailwind in the Tailwind colors tool

#0C8308 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)#8675000.125
Deuteranopia (no green cones)#7A6D1D0.123
Tritanopia (no blue cones)#007F6F0.115
Achromatopsia (no color)#7070700.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C8308

    #0C8308

    oklch(53% 0.176 142.4)

  • #993FA6

    #993FA6

    oklch(53% 0.176 322.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C8308

    #0C8308

    oklch(53% 0.176 142.4)

  • #6E7200

    #6E7200

    oklch(53.1% 0.118 112.2)

  • #007E65

    #007E65

    oklch(52.8% 0.102 172.4)

Open the analogous palette in the generator

Split complementary

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

  • #0C8308

    #0C8308

    oklch(53% 0.176 142.4)

  • #7250C7

    #7250C7

    oklch(53% 0.177 292.5)

  • #B23276

    #B23276

    oklch(53% 0.176 352.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C8308

    #0C8308

    oklch(53% 0.176 142.4)

  • #2F64D0

    #2F64D0

    oklch(53% 0.177 262.4)

  • #BC3039

    #BC3039

    oklch(52.9% 0.176 22.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C8308

    #0C8308

    oklch(53% 0.176 142.4)

  • #0075A0

    #0075A0

    oklch(52.9% 0.109 233)

  • #993FA6

    #993FA6

    oklch(53% 0.176 322.4)

  • #A65000

    #A65000

    oklch(52.9% 0.135 52.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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