#308E12

Closest named color: Emerald Green (#028F1E). oklch(56.9% 0.175 140), rgb(48, 142, 18).

Aa

Black text reads best on this color (5.00:1).

About this color

#308E12 is a medium-dark, vivid green. In OKLCH its lightness is 57%, its chroma 0.175 and its hue 140°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Emerald Green (#028F1E), ΔE 0.015 away. Black text reads best on it, at 5.00:1.

Hue familyGreens
Lightnessmedium-dark (57%)
Chromavivid (0.175)
Temperaturein between
Nearest nameEmerald Green (#028F1E)
Black text5.00:1
White text4.19:1

Values

HEX#308E12
RGBrgb(48, 142, 18)
HSLhsl(105, 78%, 31%)
OKLCHoklch(56.9% 0.175 140)

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 #308E12 4.19:1 AA large text Lc -74.0 Content text, not long reading
Black text on #308E12 5.00:1 AA Lc 35.6 Non-text elements, placeholder text
#308E12 text on white 4.19:1 AA large text Lc 68.5 Content text, not long reading
#308E12 text on black 5.00:1 AA Lc -33.2 Non-text elements, placeholder text

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

    #CAE1C5

    oklch(88.5% 0.045 140.1)

  4. Step 300

    300

    #A6CE9D

    oklch(81% 0.08 139.9)

  5. Step 400

    400

    #74B466

    oklch(70.8% 0.127 140)

  6. Step 500

    500

    #4DA039

    oklch(63.1% 0.161 140)

  7. Step 600

    600 (this color)

    #308E12

    oklch(56.9% 0.175 140)

  8. Step 700

    700

    #207400

    oklch(49% 0.158 140)

  9. Step 800

    800

    #1B5F04

    oklch(42.6% 0.134 140)

  10. Step 900

    900

    #1D4E11

    oklch(37.6% 0.105 140.1)

  11. Step 950

    950

    #122E0C

    oklch(27% 0.067 140.3)

Export this scale for Tailwind in the Tailwind colors tool

#308E12 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)#9280000.118
Deuteranopia (no green cones)#8779230.117
Tritanopia (no blue cones)#2189780.118
Achromatopsia (no color)#7C7C7C0.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #308E12

    #308E12

    oklch(56.9% 0.175 140)

  • #A34DB6

    #A34DB6

    oklch(57% 0.175 320.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #308E12

    #308E12

    oklch(56.9% 0.175 140)

  • #7C7D00

    #7C7D00

    oklch(57% 0.125 110.3)

  • #008C6D

    #008C6D

    oklch(56.9% 0.113 170.1)

Open the analogous palette in the generator

Split complementary

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

  • #308E12

    #308E12

    oklch(56.9% 0.175 140)

  • #795ED5

    #795ED5

    oklch(56.9% 0.175 290.1)

  • #BE4085

    #BE4085

    oklch(56.9% 0.175 350.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #308E12

    #308E12

    oklch(56.9% 0.175 140)

  • #3272DC

    #3272DC

    oklch(56.9% 0.175 260)

  • #C93E4A

    #C93E4A

    oklch(56.8% 0.175 20)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #308E12

    #308E12

    oklch(56.9% 0.175 140)

  • #0082AD

    #0082AD

    oklch(56.8% 0.114 230.5)

  • #A34DB6

    #A34DB6

    oklch(57% 0.175 320.1)

  • #BA5600

    #BA5600

    oklch(56.9% 0.15 50)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #308E12.

Similar named colors

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

Use #308E12 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.