#304512

Closest named color: Dark Olive (#373E02). oklch(36.1% 0.08 129), rgb(48, 69, 18).

Aa

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

About this color

#304512 is a dark, moderately saturated green. In OKLCH its lightness is 36%, its chroma 0.080 and its hue 129°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive (#373E02), ΔE 0.023 away. White text reads best on it, at 10.57:1.

Hue familyGreens
Lightnessdark (36%)
Chromamoderately saturated (0.080)
Temperaturein between
Nearest nameDark Olive (#373E02)
Black text1.98:1
White text10.57:1

Values

HEX#304512
RGBrgb(48, 69, 18)
HSLhsl(85, 59%, 17%)
OKLCHoklch(36.1% 0.08 129)

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 #304512 10.57:1 AAA Lc -98.4 Preferred for body text
Black text on #304512 1.98:1 Fails Lc 9.5 Not readable
#304512 text on white 10.57:1 AAA Lc 94.4 Preferred for body text
#304512 text on black 1.98:1 Fails Lc -8.2 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

    #F4F7F1

    oklch(97.2% 0.009 128.6)

  2. Step 100

    100

    #E6ECE0

    oklch(93.5% 0.017 128.7)

  3. Step 200

    200

    #D2DEC7

    oklch(88.5% 0.034 129.7)

  4. Step 300

    300

    #B5C9A0

    oklch(81% 0.06 128.9)

  5. Step 400

    400

    #8EAC6B

    oklch(70.6% 0.095 128.8)

  6. Step 500

    500

    #729742

    oklch(63% 0.121 129)

  7. Step 600

    600

    #5B811E

    oklch(55.5% 0.132 128.7)

  8. Step 700

    700

    #4A6D0E

    oklch(49% 0.123 129)

  9. Step 800

    800

    #3D5911

    oklch(42.6% 0.102 129)

  10. Step 900

    900 (this color)

    #304512

    oklch(36.1% 0.08 129)

  11. Step 950

    950

    #1F2B0F

    oklch(27% 0.05 128.5)

Export this scale for Tailwind in the Tailwind colors tool

#304512 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)#49400B0.041
Deuteranopia (no green cones)#463E160.042
Tritanopia (no blue cones)#32423B0.062
Achromatopsia (no color)#3F3F3F0.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #304512

    #304512

    oklch(36.1% 0.08 129)

  • #49305D

    #49305D

    oklch(36% 0.081 308.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304512

    #304512

    oklch(36.1% 0.08 129)

  • #473D00

    #473D00

    oklch(35.9% 0.074 98.8)

  • #064A2D

    #064A2D

    oklch(36.2% 0.081 158.3)

Open the analogous palette in the generator

Split complementary

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

  • #304512

    #304512

    oklch(36.1% 0.08 129)

  • #353866

    #353866

    oklch(36.2% 0.079 278.9)

  • #582B4B

    #582B4B

    oklch(36.1% 0.08 339.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304512

    #304512

    oklch(36.1% 0.08 129)

  • #163F65

    #163F65

    oklch(35.9% 0.08 249.7)

  • #5F2934

    #5F2934

    oklch(36% 0.079 9.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304512

    #304512

    oklch(36.1% 0.08 129)

  • #004554

    #004554

    oklch(36.1% 0.065 218.4)

  • #49305D

    #49305D

    oklch(36% 0.081 308.5)

  • #602C1B

    #602C1B

    oklch(36.1% 0.081 38.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #304512 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.