#338C05

Closest named color: Forest Green (#228B22). oklch(56.4% 0.175 138.9), rgb(51, 140, 5).

Aa

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

About this color

#338C05 is a medium-dark, vivid green. In OKLCH its lightness is 56%, its chroma 0.175 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.015 away. Black text reads best on it, at 4.89:1.

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

Values

HEX#338C05
RGBrgb(51, 140, 5)
HSLhsl(100, 93%, 28%)
OKLCHoklch(56.4% 0.175 138.9)

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

    #F2F7F0

    oklch(97% 0.011 136.6)

  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

    #A7CD9C

    oklch(80.8% 0.079 138.7)

  5. Step 400

    400

    #76B365

    oklch(70.6% 0.126 139.1)

  6. Step 500

    500

    #509F36

    oklch(63% 0.161 138.9)

  7. Step 600

    600 (this color)

    #338C05

    oklch(56.4% 0.175 138.9)

  8. Step 700

    700

    #287400

    oklch(49.2% 0.155 138.8)

  9. Step 800

    800

    #1F5F00

    oklch(42.7% 0.134 138.9)

  10. Step 900

    900

    #1F4E0F

    oklch(37.7% 0.105 139.1)

  11. Step 950

    950

    #132E0B

    oklch(27% 0.067 139.2)

Export this scale for Tailwind in the Tailwind colors tool

#338C05 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.116
Deuteranopia (no green cones)#86771D0.115
Tritanopia (no blue cones)#2887760.120
Achromatopsia (no color)#7A7A7A0.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #338C05

    #338C05

    oklch(56.4% 0.175 138.9)

  • #A04CB6

    #A04CB6

    oklch(56.5% 0.176 318.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338C05

    #338C05

    oklch(56.4% 0.175 138.9)

  • #7C7A00

    #7C7A00

    oklch(56.3% 0.122 108.6)

  • #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°).

  • #338C05

    #338C05

    oklch(56.4% 0.175 138.9)

  • #755DD4

    #755DD4

    oklch(56.3% 0.176 288.8)

  • #BB3F86

    #BB3F86

    oklch(56.4% 0.175 348.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338C05

    #338C05

    oklch(56.4% 0.175 138.9)

  • #2C71DA

    #2C71DA

    oklch(56.3% 0.175 259)

  • #C83C4B

    #C83C4B

    oklch(56.5% 0.176 18.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338C05

    #338C05

    oklch(56.4% 0.175 138.9)

  • #0081A9

    #0081A9

    oklch(56.4% 0.111 228.8)

  • #A04CB6

    #A04CB6

    oklch(56.5% 0.176 318.9)

  • #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 #338C05, closest first.

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

Similar named colors

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

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