#304F18

Closest named color: Navy Green (#35530A). oklch(39% 0.09 133.9), rgb(48, 79, 24).

Aa

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

About this color

#304F18 is a dark, moderately saturated green. In OKLCH its lightness is 39%, its chroma 0.090 and its hue 134°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Navy Green (#35530A), ΔE 0.020 away. White text reads best on it, at 9.30:1.

Hue familyGreens
Lightnessdark (39%)
Chromamoderately saturated (0.090)
Temperaturein between
Nearest nameNavy Green (#35530A)
Black text2.25:1
White text9.30:1

Values

HEX#304F18
RGBrgb(48, 79, 24)
HSLhsl(94, 53%, 20%)
OKLCHoklch(39% 0.09 133.9)

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 #304F18 9.30:1 AAA Lc -95.7 Preferred for body text
Black text on #304F18 2.25:1 Fails Lc 12.6 Not readable
#304F18 text on white 9.30:1 AAA Lc 91.3 Preferred for body text
#304F18 text on black 2.25:1 Fails Lc -11.0 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

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E5EDE0

    oklch(93.6% 0.019 133.1)

  3. Step 200

    200

    #CFDFC6

    oklch(88.5% 0.038 134.1)

  4. Step 300

    300

    #AFCB9F

    oklch(81% 0.067 134.3)

  5. Step 400

    400

    #85AF69

    oklch(70.6% 0.107 133.7)

  6. Step 500

    500

    #659B3E

    oklch(63.1% 0.138 134.1)

  7. Step 600

    600

    #4C8516

    oklch(55.6% 0.149 133.9)

  8. Step 700

    700

    #3D7003

    oklch(49% 0.139 133.7)

  9. Step 800

    800

    #335C0B

    oklch(42.8% 0.115 133.8)

  10. Step 900

    900 (this color)

    #304F18

    oklch(39% 0.09 133.9)

  11. Step 950

    950

    #1A2C0D

    oklch(26.9% 0.057 134)

Export this scale for Tailwind in the Tailwind colors tool

#304F18 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)#5249110.052
Deuteranopia (no green cones)#4E461C0.053
Tritanopia (no blue cones)#304C440.066
Achromatopsia (no color)#4747470.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #304F18

    #304F18

    oklch(39% 0.09 133.9)

  • #563566

    #563566

    oklch(39% 0.089 313.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304F18

    #304F18

    oklch(39% 0.09 133.9)

  • #4D4700

    #4D4700

    oklch(39.1% 0.083 104.1)

  • #005339

    #005339

    oklch(39.1% 0.084 163.9)

Open the analogous palette in the generator

Split complementary

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

  • #304F18

    #304F18

    oklch(39% 0.09 133.9)

  • #403D73

    #403D73

    oklch(39% 0.09 284)

  • #652F51

    #652F51

    oklch(39% 0.09 343.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304F18

    #304F18

    oklch(39% 0.09 133.9)

  • #1F4674

    #1F4674

    oklch(39.1% 0.09 254.2)

  • #6D2E36

    #6D2E36

    oklch(39.1% 0.09 14.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304F18

    #304F18

    oklch(39% 0.09 133.9)

  • #004D62

    #004D62

    oklch(39% 0.073 223.9)

  • #563566

    #563566

    oklch(39% 0.089 313.9)

  • #6B3318

    #6B3318

    oklch(39% 0.089 44.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #304F18 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.