#303E18

Closest named color: Dark Olive (#373E02). oklch(34.1% 0.062 126.3), rgb(48, 62, 24).

Aa

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

About this color

#303E18 is a dark, muted green. In OKLCH its lightness is 34%, its chroma 0.062 and its hue 126°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive (#373E02), ΔE 0.020 away. White text reads best on it, at 11.48:1.

Hue familyGreens
Lightnessdark (34%)
Chromamuted (0.062)
Temperaturein between
Nearest nameDark Olive (#373E02)
Black text1.82:1
White text11.48:1

Values

HEX#303E18
RGBrgb(48, 62, 24)
HSLhsl(82, 44%, 17%)
OKLCHoklch(34.1% 0.062 126.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 #303E18 11.48:1 AAA Lc -100.1 Preferred for body text
Black text on #303E18 1.82:1 Fails Lc 7.5 Not readable
#303E18 text on white 11.48:1 AAA Lc 96.4 Preferred for body text
#303E18 text on black 1.82: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

    #F4F6F2

    oklch(97.1% 0.006 128.5)

  2. Step 100

    100

    #E7ECE2

    oklch(93.7% 0.014 128.6)

  3. Step 200

    200

    #D5DDCA

    oklch(88.6% 0.027 125.6)

  4. Step 300

    300

    #B9C7A6

    oklch(81% 0.048 126.2)

  5. Step 400

    400

    #95A976

    oklch(70.6% 0.074 125.6)

  6. Step 500

    500

    #7B9452

    oklch(63.1% 0.096 126)

  7. Step 600

    600

    #647E36

    oklch(55.6% 0.104 126.1)

  8. Step 700

    700

    #536A28

    oklch(49% 0.096 125.9)

  9. Step 800

    800

    #445723

    oklch(42.8% 0.08 126.3)

  10. Step 900

    900 (this color)

    #303E18

    oklch(34.1% 0.062 126.3)

  11. Step 950

    950

    #212A14

    oklch(27% 0.04 127.1)

Export this scale for Tailwind in the Tailwind colors tool

#303E18 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)#413A140.029
Deuteranopia (no green cones)#3F391A0.030
Tritanopia (no blue cones)#323B350.049
Achromatopsia (no color)#3939390.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #303E18

    #303E18

    oklch(34.1% 0.062 126.3)

  • #402F52

    #402F52

    oklch(34.1% 0.063 305.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #303E18

    #303E18

    oklch(34.1% 0.062 126.3)

  • #42380B

    #42380B

    oklch(34.2% 0.062 96.1)

  • #18422B

    #18422B

    oklch(34.2% 0.062 156.7)

Open the analogous palette in the generator

Split complementary

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

  • #303E18

    #303E18

    oklch(34.1% 0.062 126.3)

  • #303558

    #303558

    oklch(34.2% 0.062 276.4)

  • #4C2B44

    #4C2B44

    oklch(34% 0.062 336.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #303E18

    #303E18

    oklch(34.1% 0.062 126.3)

  • #1A3B57

    #1A3B57

    oklch(34.2% 0.063 246.6)

  • #532A33

    #532A33

    oklch(34.2% 0.062 6.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #303E18

    #303E18

    oklch(34.1% 0.062 126.3)

  • #00404C

    #00404C

    oklch(34.2% 0.06 215.2)

  • #402F52

    #402F52

    oklch(34.1% 0.063 305.6)

  • #542C21

    #542C21

    oklch(34.3% 0.062 36.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #303E18 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.