#30512F

Closest named color: Pine (#2B5D34). oklch(40% 0.068 143.5), rgb(48, 81, 47).

Aa

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

About this color

#30512F is a dark, muted green. In OKLCH its lightness is 40%, its chroma 0.068 and its hue 144°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.038 away. White text reads best on it, at 8.96:1.

Hue familyGreens
Lightnessdark (40%)
Chromamuted (0.068)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.34:1
White text8.96:1

Values

HEX#30512F
RGBrgb(48, 81, 47)
HSLhsl(118, 27%, 25%)
OKLCHoklch(40% 0.068 143.5)

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 #30512F 8.96:1 AAA Lc -94.9 Preferred for body text
Black text on #30512F 2.34:1 Fails Lc 13.5 Not readable
#30512F text on white 8.96:1 AAA Lc 90.5 Preferred for body text
#30512F text on black 2.34:1 Fails Lc -11.8 Not readable

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 900.

  1. Step 50

    50

    #F3F7F3

    oklch(97.2% 0.007 145.5)

  2. Step 100

    100

    #E4EDE4

    oklch(93.7% 0.015 145.5)

  3. Step 200

    200

    #CFDECD

    oklch(88.5% 0.028 142)

  4. Step 300

    300

    #AECAAC

    oklch(81% 0.051 143.3)

  5. Step 400

    400

    #82AE80

    oklch(70.7% 0.081 143.6)

  6. Step 500

    500

    #619A5F

    oklch(63.1% 0.105 143.5)

  7. Step 600

    600

    #478446

    oklch(55.6% 0.113 143.6)

  8. Step 700

    700

    #387037

    oklch(49.2% 0.106 143.4)

  9. Step 800

    800

    #2F5B2E

    oklch(42.7% 0.087 143.4)

  10. Step 900

    900 (this color)

    #30512F

    oklch(40% 0.068 143.5)

  11. Step 950

    950

    #192C18

    oklch(27% 0.044 143.1)

Export this scale for Tailwind in the Tailwind colors tool

#30512F 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)#524B2D0.051
Deuteranopia (no green cones)#4D48310.050
Tritanopia (no blue cones)#2D4F480.042
Achromatopsia (no color)#4949490.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #30512F

    #30512F

    oklch(40% 0.068 143.5)

  • #593A5D

    #593A5D

    oklch(39.8% 0.069 322.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #30512F

    #30512F

    oklch(40% 0.068 143.5)

  • #474B1C

    #474B1C

    oklch(39.8% 0.068 113.5)

  • #135344

    #135344

    oklch(39.8% 0.068 173.4)

Open the analogous palette in the generator

Split complementary

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

  • #30512F

    #30512F

    oklch(40% 0.068 143.5)

  • #494069

    #494069

    oklch(39.9% 0.068 293.1)

  • #64374A

    #64374A

    oklch(39.9% 0.069 353.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #30512F

    #30512F

    oklch(40% 0.068 143.5)

  • #34476C

    #34476C

    oklch(40% 0.067 262.9)

  • #683836

    #683836

    oklch(40% 0.069 23.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #30512F

    #30512F

    oklch(40% 0.068 143.5)

  • #1A4D66

    #1A4D66

    oklch(39.8% 0.068 233.6)

  • #593A5D

    #593A5D

    oklch(39.8% 0.069 322.7)

  • #643D22

    #643D22

    oklch(40% 0.068 54.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #30512F 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.