#338C0A

Closest named color: Forest Green (#228B22). oklch(56.4% 0.174 139.1), rgb(51, 140, 10).

Aa

Black text reads best on this color (4.89:1).

About this color

#338C0A is a medium-dark, vivid green. In OKLCH its lightness is 56%, its chroma 0.174 and its hue 139°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Forest Green (#228B22), ΔE 0.014 away. Black text reads best on it, at 4.89:1.

Hue familyGreens
Lightnessmedium-dark (56%)
Chromavivid (0.174)
Temperaturein between
Nearest nameForest Green (#228B22)
Black text4.89:1
White text4.28:1

Values

HEX#338C0A
RGBrgb(51, 140, 10)
HSLhsl(101, 87%, 29%)
OKLCHoklch(56.4% 0.174 139.1)

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 #338C0A 4.28:1 AA large text Lc -74.7 Content text, not long reading
Black text on #338C0A 4.89:1 AA Lc 34.9 Non-text elements, placeholder text
#338C0A text on white 4.28:1 AA large text Lc 69.2 Content text, not long reading
#338C0A text on black 4.89:1 AA Lc -32.4 Non-text elements, placeholder text

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 600.

  1. Step 50

    50

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E2EEDF

    oklch(93.6% 0.024 139.4)

  3. Step 200

    200

    #CBE1C5

    oklch(88.6% 0.044 139)

  4. Step 300

    300

    #A7CD9D

    oklch(80.8% 0.078 139.2)

  5. Step 400

    400

    #76B366

    oklch(70.6% 0.125 139.3)

  6. Step 500

    500

    #509F37

    oklch(63% 0.16 139)

  7. Step 600

    600 (this color)

    #338C0A

    oklch(56.4% 0.174 139.1)

  8. Step 700

    700

    #267400

    oklch(49.1% 0.155 139.2)

  9. Step 800

    800

    #1F5F01

    oklch(42.7% 0.134 139)

  10. Step 900

    900

    #1F4E10

    oklch(37.7% 0.105 139.3)

  11. Step 950

    950

    #132E0B

    oklch(27% 0.067 139.2)

Export this scale for Tailwind in the Tailwind colors tool

#338C0A 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)#907E000.115
Deuteranopia (no green cones)#86771F0.115
Tritanopia (no blue cones)#2887760.119
Achromatopsia (no color)#7A7A7A0.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #338C0A

    #338C0A

    oklch(56.4% 0.174 139.1)

  • #A04CB5

    #A04CB5

    oklch(56.4% 0.175 319.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338C0A

    #338C0A

    oklch(56.4% 0.174 139.1)

  • #7C7B00

    #7C7B00

    oklch(56.5% 0.123 109.2)

  • #008A6A

    #008A6A

    oklch(56.3% 0.113 169.2)

Open the analogous palette in the generator

Split complementary

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

  • #338C0A

    #338C0A

    oklch(56.4% 0.174 139.1)

  • #765DD3

    #765DD3

    oklch(56.3% 0.174 289.3)

  • #BB3F85

    #BB3F85

    oklch(56.4% 0.174 349.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338C0A

    #338C0A

    oklch(56.4% 0.174 139.1)

  • #2D71DA

    #2D71DA

    oklch(56.4% 0.175 259.2)

  • #C73D4B

    #C73D4B

    oklch(56.4% 0.174 19.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338C0A

    #338C0A

    oklch(56.4% 0.174 139.1)

  • #0081A9

    #0081A9

    oklch(56.4% 0.111 228.8)

  • #A04CB5

    #A04CB5

    oklch(56.4% 0.175 319.2)

  • #B95400

    #B95400

    oklch(56.4% 0.151 49.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #338C0A.

Similar named colors

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

Use #338C0A 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.