#507A0C

Closest named color: Dark Grass Green (#388004). oklch(52.9% 0.137 130), rgb(80, 122, 12).

Aa

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

About this color

#507A0C is a medium-dark, moderately saturated green. In OKLCH its lightness is 53%, its chroma 0.137 and its hue 130°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Grass Green (#388004), ΔE 0.029 away. White text reads best on it, at 5.08:1.

Hue familyGreens
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.137)
Temperaturein between
Nearest nameDark Grass Green (#388004)
Black text4.13:1
White text5.08:1

Values

HEX#507A0C
RGBrgb(80, 122, 12)
HSLhsl(83, 82%, 26%)
OKLCHoklch(52.9% 0.137 130)

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 #507A0C 5.08:1 AA Lc -80.3 Fine for body text
Black text on #507A0C 4.13:1 AA large text Lc 29.2 Dividers and decoration only
#507A0C text on white 5.08:1 AA Lc 74.9 Content text, not long reading
#507A0C text on black 4.13:1 AA large text Lc -26.8 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

    #F4F7F1

    oklch(97.2% 0.009 128.6)

  2. Step 100

    100

    #E6ECE0

    oklch(93.5% 0.017 128.7)

  3. Step 200

    200

    #D2DEC7

    oklch(88.5% 0.034 129.7)

  4. Step 300

    300

    #B4C99F

    oklch(80.9% 0.062 129.3)

  5. Step 400

    400

    #8CAD6A

    oklch(70.7% 0.099 130)

  6. Step 500

    500

    #709840

    oklch(63.1% 0.126 129.8)

  7. Step 600

    600 (this color)

    #507A0C

    oklch(52.9% 0.137 130)

  8. Step 700

    700

    #486E09

    oklch(49.1% 0.128 129.8)

  9. Step 800

    800

    #3B5A0F

    oklch(42.8% 0.106 130.1)

  10. Step 900

    900

    #334A16

    oklch(37.8% 0.082 129.9)

  11. Step 950

    950

    #1E2B0E

    oklch(26.9% 0.052 129.4)

Export this scale for Tailwind in the Tailwind colors tool

#507A0C 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)#8070000.072
Deuteranopia (no green cones)#7A6D1B0.072
Tritanopia (no blue cones)#5274670.107
Achromatopsia (no color)#6E6E6E0.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #507A0C

    #507A0C

    oklch(52.9% 0.137 130)

  • #8451A6

    #8451A6

    oklch(52.9% 0.138 310.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #507A0C

    #507A0C

    oklch(52.9% 0.137 130)

  • #7B6C00

    #7B6C00

    oklch(52.9% 0.11 99.7)

  • #008053

    #008053

    oklch(52.9% 0.12 160.1)

Open the analogous palette in the generator

Split complementary

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

  • #507A0C

    #507A0C

    oklch(52.9% 0.137 130)

  • #5E5FB8

    #5E5FB8

    oklch(52.9% 0.137 280.2)

  • #9D4784

    #9D4784

    oklch(52.9% 0.137 339.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #507A0C

    #507A0C

    oklch(52.9% 0.137 130)

  • #196EB7

    #196EB7

    oklch(52.9% 0.138 250.1)

  • #AB4359

    #AB4359

    oklch(52.9% 0.137 10.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #507A0C

    #507A0C

    oklch(52.9% 0.137 130)

  • #007892

    #007892

    oklch(53% 0.096 219.9)

  • #8451A6

    #8451A6

    oklch(52.9% 0.138 310.2)

  • #AB4925

    #AB4925

    oklch(52.8% 0.138 39.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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