#54840C

Closest named color: Sap Green (#5C8B15). oklch(55.8% 0.148 130.8), rgb(84, 132, 12).

Aa

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

About this color

#54840C is a medium-dark, vivid green. In OKLCH its lightness is 56%, its chroma 0.148 and its hue 131°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sap Green (#5C8B15), ΔE 0.024 away. Black text reads best on it, at 4.68:1.

Hue familyGreens
Lightnessmedium-dark (56%)
Chromavivid (0.148)
Temperaturein between
Nearest nameSap Green (#5C8B15)
Black text4.68:1
White text4.48:1

Values

HEX#54840C
RGBrgb(84, 132, 12)
HSLhsl(84, 83%, 28%)
OKLCHoklch(55.8% 0.148 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 #54840C 4.48:1 AA large text Lc -76.4 Fine for body text
Black text on #54840C 4.68:1 AA Lc 33.2 Non-text elements, placeholder text
#54840C text on white 4.48:1 AA large text Lc 70.9 Content text, not long reading
#54840C text on black 4.68:1 AA Lc -30.8 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

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E5EDE0

    oklch(93.6% 0.019 133.1)

  3. Step 200

    200

    #D1DFC5

    oklch(88.6% 0.038 130.4)

  4. Step 300

    300

    #B2CA9D

    oklch(80.9% 0.067 130.7)

  5. Step 400

    400

    #89AE66

    oklch(70.6% 0.107 130.9)

  6. Step 500

    500

    #6C9A39

    oklch(63.2% 0.137 130.9)

  7. Step 600

    600 (this color)

    #54840C

    oklch(55.8% 0.148 130.8)

  8. Step 700

    700

    #456F00

    oklch(49.2% 0.134 130.8)

  9. Step 800

    800

    #385B04

    oklch(42.8% 0.114 130.9)

  10. Step 900

    900

    #304B11

    oklch(37.8% 0.09 131.3)

  11. Step 950

    950

    #1D2C0C

    oklch(27.1% 0.056 130.5)

Export this scale for Tailwind in the Tailwind colors tool

#54840C 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)#8A79000.079
Deuteranopia (no green cones)#84761D0.079
Tritanopia (no blue cones)#567E700.114
Achromatopsia (no color)#7777770.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #54840C

    #54840C

    oklch(55.8% 0.148 130.8)

  • #8F57B3

    #8F57B3

    oklch(55.9% 0.147 310.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #54840C

    #54840C

    oklch(55.8% 0.148 130.8)

  • #837500

    #837500

    oklch(55.8% 0.116 101)

  • #00895B

    #00895B

    oklch(55.6% 0.124 161)

Open the analogous palette in the generator

Split complementary

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

  • #54840C

    #54840C

    oklch(55.8% 0.148 130.8)

  • #6666C7

    #6666C7

    oklch(55.8% 0.147 280.5)

  • #AB4B8D

    #AB4B8D

    oklch(55.8% 0.148 341.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #54840C

    #54840C

    oklch(55.8% 0.148 130.8)

  • #1D76C6

    #1D76C6

    oklch(55.7% 0.147 250.9)

  • #B9475E

    #B9475E

    oklch(55.7% 0.148 11)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #54840C

    #54840C

    oklch(55.8% 0.148 130.8)

  • #00819E

    #00819E

    oklch(55.9% 0.102 220.9)

  • #8F57B3

    #8F57B3

    oklch(55.9% 0.147 310.6)

  • #B84F24

    #B84F24

    oklch(55.7% 0.147 40.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #54840C 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.