#507F05

Closest named color: Dark Grass Green (#388004). oklch(54.2% 0.146 130.8), rgb(80, 127, 5).

Aa

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

About this color

#507F05 is a medium-dark, vivid green. In OKLCH its lightness is 54%, its chroma 0.146 and its hue 131°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Grass Green (#388004), ΔE 0.024 away. White text reads best on it, at 4.79:1.

Hue familyGreens
Lightnessmedium-dark (54%)
Chromavivid (0.146)
Temperaturein between
Nearest nameDark Grass Green (#388004)
Black text4.37:1
White text4.79:1

Values

HEX#507F05
RGBrgb(80, 127, 5)
HSLhsl(83, 92%, 26%)
OKLCHoklch(54.2% 0.146 130.8)

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 #507F05 4.79:1 AA Lc -78.5 Fine for body text
Black text on #507F05 4.37:1 AA large text Lc 31.1 Non-text elements, placeholder text
#507F05 text on white 4.79:1 AA Lc 73.0 Content text, not long reading
#507F05 text on black 4.37:1 AA large text Lc -28.7 Dividers and decoration only

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

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E5EDE0

    oklch(93.6% 0.019 133.1)

  3. Step 200

    200

    #D1DEC6

    oklch(88.4% 0.035 130.5)

  4. Step 300

    300

    #B2CA9E

    oklch(80.9% 0.065 131.1)

  5. Step 400

    400

    #8AAE67

    oklch(70.7% 0.105 130.6)

  6. Step 500

    500

    #6C993B

    oklch(63% 0.134 130.9)

  7. Step 600

    600 (this color)

    #507F05

    oklch(54.2% 0.146 130.8)

  8. Step 700

    700

    #456F00

    oklch(49.2% 0.134 130.8)

  9. Step 800

    800

    #385B07

    oklch(42.8% 0.113 131.2)

  10. Step 900

    900

    #314B12

    oklch(37.9% 0.088 130.8)

  11. Step 950

    950

    #1D2C0D

    oklch(27.1% 0.055 130.9)

Export this scale for Tailwind in the Tailwind colors tool

#507F05 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)#8574000.079
Deuteranopia (no green cones)#7F71190.078
Tritanopia (no blue cones)#52796B0.112
Achromatopsia (no color)#7272720.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #507F05

    #507F05

    oklch(54.2% 0.146 130.8)

  • #8A52AD

    #8A52AD

    oklch(54.2% 0.147 310.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #507F05

    #507F05

    oklch(54.2% 0.146 130.8)

  • #7E7000

    #7E7000

    oklch(54.1% 0.113 100.7)

  • #008457

    #008457

    oklch(54.2% 0.121 160.7)

Open the analogous palette in the generator

Split complementary

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

  • #507F05

    #507F05

    oklch(54.2% 0.146 130.8)

  • #6261C1

    #6261C1

    oklch(54.2% 0.146 280.8)

  • #A54788

    #A54788

    oklch(54.2% 0.146 341.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #507F05

    #507F05

    oklch(54.2% 0.146 130.8)

  • #1871C0

    #1871C0

    oklch(54.1% 0.146 251)

  • #B3435A

    #B3435A

    oklch(54.2% 0.146 10.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #507F05

    #507F05

    oklch(54.2% 0.146 130.8)

  • #007C97

    #007C97

    oklch(54.2% 0.099 220.1)

  • #8A52AD

    #8A52AD

    oklch(54.2% 0.147 310.8)

  • #B24B20

    #B24B20

    oklch(54.2% 0.145 41)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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