#304F0F

Closest named color: Navy Green (#35530A). oklch(38.9% 0.097 132.3), rgb(48, 79, 15).

Aa

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

About this color

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

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

Values

HEX#304F0F
RGBrgb(48, 79, 15)
HSLhsl(89, 68%, 18%)
OKLCHoklch(38.9% 0.097 132.3)

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 #304F0F 9.32:1 AAA Lc -95.7 Preferred for body text
Black text on #304F0F 2.25:1 Fails Lc 12.6 Not readable
#304F0F text on white 9.32:1 AAA Lc 91.4 Preferred for body text
#304F0F 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

    #F3F7F0

    oklch(97.1% 0.01 131.4)

  2. Step 100

    100

    #E5EDDF

    oklch(93.6% 0.02 131.5)

  3. Step 200

    200

    #CFDFC4

    oklch(88.4% 0.04 132.4)

  4. Step 300

    300

    #AFCB9B

    oklch(80.9% 0.072 132.5)

  5. Step 400

    400

    #85B062

    oklch(70.8% 0.116 132.3)

  6. Step 500

    500

    #669B30

    oklch(63% 0.148 132.1)

  7. Step 600

    600

    #4E8500

    oklch(55.6% 0.155 132.4)

  8. Step 700

    700

    #417000

    oklch(49.2% 0.137 132.3)

  9. Step 800

    800

    #345C00

    oklch(42.8% 0.12 132.5)

  10. Step 900

    900 (this color)

    #304F0F

    oklch(38.9% 0.097 132.3)

  11. Step 950

    950

    #1B2C09

    oklch(26.9% 0.061 131.5)

Export this scale for Tailwind in the Tailwind colors tool

#304F0F 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)#5348040.055
Deuteranopia (no green cones)#4E46150.054
Tritanopia (no blue cones)#314B430.074
Achromatopsia (no color)#4747470.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #304F0F

    #304F0F

    oklch(38.9% 0.097 132.3)

  • #56336A

    #56336A

    oklch(38.9% 0.098 312)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304F0F

    #304F0F

    oklch(38.9% 0.097 132.3)

  • #4E4600

    #4E4600

    oklch(39% 0.082 102)

  • #005237

    #005237

    oklch(38.8% 0.084 162.8)

Open the analogous palette in the generator

Split complementary

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

  • #304F0F

    #304F0F

    oklch(38.9% 0.097 132.3)

  • #3E3C77

    #3E3C77

    oklch(38.9% 0.098 282.4)

  • #672D53

    #672D53

    oklch(39% 0.097 342.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304F0F

    #304F0F

    oklch(38.9% 0.097 132.3)

  • #174677

    #174677

    oklch(39% 0.097 252.5)

  • #6F2B36

    #6F2B36

    oklch(39% 0.097 12.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304F0F

    #304F0F

    oklch(38.9% 0.097 132.3)

  • #004D60

    #004D60

    oklch(38.9% 0.072 221.6)

  • #56336A

    #56336A

    oklch(38.9% 0.098 312)

  • #6E3015

    #6E3015

    oklch(39% 0.096 42.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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