#304704

Closest named color: Dark Olive (#373E02). oklch(36.5% 0.092 128), rgb(48, 71, 4).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (37%)
Chromamoderately saturated (0.092)
Temperaturein between
Nearest nameDark Olive (#373E02)
Black text2.02:1
White text10.35:1

Values

HEX#304704
RGBrgb(48, 71, 4)
HSLhsl(81, 89%, 15%)
OKLCHoklch(36.5% 0.092 128)

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 #304704 10.35:1 AAA Lc -97.9 Preferred for body text
Black text on #304704 2.02:1 Fails Lc 10.1 Not readable
#304704 text on white 10.35:1 AAA Lc 93.9 Preferred for body text
#304704 text on black 2.02:1 Fails Lc -8.7 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

    #F4F7F0

    oklch(97.2% 0.01 125.7)

  2. Step 100

    100

    #E6EDDF

    oklch(93.7% 0.02 128.7)

  3. Step 200

    200

    #D2DEC4

    oklch(88.4% 0.037 127.4)

  4. Step 300

    300

    #B4CA9A

    oklch(81% 0.069 127.9)

  5. Step 400

    400

    #8CAE60

    oklch(70.7% 0.112 128.2)

  6. Step 500

    500

    #70992E

    oklch(63.1% 0.142 128.1)

  7. Step 600

    600

    #5A8200

    oklch(55.6% 0.145 128)

  8. Step 700

    700

    #4B6D00

    oklch(49% 0.128 127.9)

  9. Step 800

    800

    #3D5A00

    oklch(42.8% 0.112 128.1)

  10. Step 900

    900 (this color)

    #304704

    oklch(36.5% 0.092 128)

  11. Step 950

    950

    #1E2C09

    oklch(27.1% 0.059 128.4)

Export this scale for Tailwind in the Tailwind colors tool

#304704 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)#4B41000.045
Deuteranopia (no green cones)#48400C0.045
Tritanopia (no blue cones)#32433B0.073
Achromatopsia (no color)#4040400.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #304704

    #304704

    oklch(36.5% 0.092 128)

  • #4C2F63

    #4C2F63

    oklch(36.5% 0.092 308.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304704

    #304704

    oklch(36.5% 0.092 128)

  • #493E00

    #493E00

    oklch(36.4% 0.075 97.9)

  • #004C2D

    #004C2D

    oklch(36.7% 0.086 158.2)

Open the analogous palette in the generator

Split complementary

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

  • #304704

    #304704

    oklch(36.5% 0.092 128)

  • #34386E

    #34386E

    oklch(36.6% 0.092 277.6)

  • #5C294F

    #5C294F

    oklch(36.5% 0.091 338)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304704

    #304704

    oklch(36.5% 0.092 128)

  • #08416C

    #08416C

    oklch(36.6% 0.092 247.7)

  • #652635

    #652635

    oklch(36.5% 0.092 8.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304704

    #304704

    oklch(36.5% 0.092 128)

  • #004655

    #004655

    oklch(36.4% 0.065 218.2)

  • #4C2F63

    #4C2F63

    oklch(36.5% 0.092 308.2)

  • #662A16

    #662A16

    oklch(36.6% 0.092 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 #304704, closest first.

Similar named colors

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

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