#338F05

Closest named color: Emerald Green (#028F1E). oklch(57.2% 0.179 139.1), rgb(51, 143, 5).

Aa

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

About this color

#338F05 is a medium-dark, vivid green. In OKLCH its lightness is 57%, its chroma 0.179 and its hue 139°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Emerald Green (#028F1E), ΔE 0.018 away. Black text reads best on it, at 5.07:1.

Hue familyGreens
Lightnessmedium-dark (57%)
Chromavivid (0.179)
Temperaturein between
Nearest nameEmerald Green (#028F1E)
Black text5.07:1
White text4.14:1

Values

HEX#338F05
RGBrgb(51, 143, 5)
HSLhsl(100, 93%, 29%)
OKLCHoklch(57.2% 0.179 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 #338F05 4.14:1 AA large text Lc -73.5 Content text, not long reading
Black text on #338F05 5.07:1 AA Lc 36.1 Non-text elements, placeholder text
#338F05 text on white 4.14:1 AA large text Lc 68.0 Content text, not long reading
#338F05 text on black 5.07:1 AA Lc -33.7 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

    #A6CE9C

    oklch(81% 0.081 139.4)

  5. Step 400

    400

    #75B464

    oklch(70.8% 0.129 139.2)

  6. Step 500

    500

    #4EA034

    oklch(63.1% 0.165 139.1)

  7. Step 600

    600 (this color)

    #338F05

    oklch(57.2% 0.179 139.1)

  8. Step 700

    700

    #277400

    oklch(49.2% 0.155 139)

  9. Step 800

    800

    #1E5F00

    oklch(42.7% 0.135 139.1)

  10. Step 900

    900

    #1E4E0D

    oklch(37.6% 0.107 139.1)

  11. Step 950

    950

    #132E0A

    oklch(27% 0.068 138.8)

Export this scale for Tailwind in the Tailwind colors tool

#338F05 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)#9381000.118
Deuteranopia (no green cones)#897A1E0.117
Tritanopia (no blue cones)#278A790.123
Achromatopsia (no color)#7D7D7D0.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #338F05

    #338F05

    oklch(57.2% 0.179 139.1)

  • #A34DB9

    #A34DB9

    oklch(57.2% 0.178 319)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338F05

    #338F05

    oklch(57.2% 0.179 139.1)

  • #7E7D00

    #7E7D00

    oklch(57.2% 0.124 109.2)

  • #008D6C

    #008D6C

    oklch(57.2% 0.115 168.9)

Open the analogous palette in the generator

Split complementary

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

  • #338F05

    #338F05

    oklch(57.2% 0.179 139.1)

  • #785FD9

    #785FD9

    oklch(57.2% 0.179 288.9)

  • #BF4088

    #BF4088

    oklch(57.2% 0.178 349.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338F05

    #338F05

    oklch(57.2% 0.179 139.1)

  • #2D73DF

    #2D73DF

    oklch(57.1% 0.179 259.2)

  • #CC3D4C

    #CC3D4C

    oklch(57.3% 0.179 19.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338F05

    #338F05

    oklch(57.2% 0.179 139.1)

  • #0084AD

    #0084AD

    oklch(57.3% 0.113 228.9)

  • #A34DB9

    #A34DB9

    oklch(57.2% 0.178 319)

  • #BD5600

    #BD5600

    oklch(57.3% 0.153 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 #338F05, closest first.

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

Similar named colors

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

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