#304127

Closest named color: Dark Olive (#373E02). oklch(35.3% 0.048 135.2), rgb(48, 65, 39).

Aa

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

About this color

#304127 is a dark, muted green. In OKLCH its lightness is 35%, its chroma 0.048 and its hue 135°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive (#373E02), ΔE 0.036 away. White text reads best on it, at 10.98:1.

Hue familyGreens
Lightnessdark (35%)
Chromamuted (0.048)
Temperaturein between
Nearest nameDark Olive (#373E02)
Black text1.91:1
White text10.98:1

Values

HEX#304127
RGBrgb(48, 65, 39)
HSLhsl(99, 25%, 20%)
OKLCHoklch(35.3% 0.048 135.2)

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 #304127 10.98:1 AAA Lc -99.2 Preferred for body text
Black text on #304127 1.91:1 Fails Lc 8.5 Not readable
#304127 text on white 10.98:1 AAA Lc 95.4 Preferred for body text
#304127 text on black 1.91:1 Fails Lc 0.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

    #F4F6F3

    oklch(97.1% 0.004 134.8)

  2. Step 100

    100

    #E7EBE5

    oklch(93.5% 0.009 134.9)

  3. Step 200

    200

    #D3DCCF

    oklch(88.4% 0.02 135.8)

  4. Step 300

    300

    #B7C6AF

    oklch(80.9% 0.036 134.5)

  5. Step 400

    400

    #91A985

    oklch(70.7% 0.058 135.3)

  6. Step 500

    500

    #769466

    oklch(63.1% 0.075 135)

  7. Step 600

    600

    #5E7E4D

    oklch(55.6% 0.081 135.3)

  8. Step 700

    700

    #4E6A3E

    oklch(49% 0.075 134.8)

  9. Step 800

    800

    #405734

    oklch(42.8% 0.062 135.4)

  10. Step 900

    900 (this color)

    #304127

    oklch(35.3% 0.048 135.2)

  11. Step 950

    950

    #202A1B

    oklch(27.1% 0.03 135.4)

Export this scale for Tailwind in the Tailwind colors tool

#304127 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)#433D250.032
Deuteranopia (no green cones)#403C280.030
Tritanopia (no blue cones)#303F3A0.034
Achromatopsia (no color)#3C3C3C0.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #304127

    #304127

    oklch(35.3% 0.048 135.2)

  • #45334D

    #45334D

    oklch(35.2% 0.05 315.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304127

    #304127

    oklch(35.3% 0.048 135.2)

  • #3F3D1D

    #3F3D1D

    oklch(35.4% 0.049 105.5)

  • #204335

    #204335

    oklch(35.2% 0.048 165.7)

Open the analogous palette in the generator

Split complementary

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

  • #304127

    #304127

    oklch(35.3% 0.048 135.2)

  • #393854

    #393854

    oklch(35.4% 0.048 285.3)

  • #4E3141

    #4E3141

    oklch(35.4% 0.049 345.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304127

    #304127

    oklch(35.3% 0.048 135.2)

  • #2A3C54

    #2A3C54

    oklch(35.2% 0.048 255.8)

  • #523133

    #523133

    oklch(35.4% 0.048 15.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304127

    #304127

    oklch(35.3% 0.048 135.2)

  • #1B414E

    #1B414E

    oklch(35.4% 0.048 223.2)

  • #45334D

    #45334D

    oklch(35.2% 0.05 315.2)

  • #503326

    #503326

    oklch(35.2% 0.048 44.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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