#42871A

Closest named color: Forest Green (#228B22). oklch(55.7% 0.155 136.9), rgb(66, 135, 26).

Aa

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

About this color

#42871A is a medium-dark, vivid green. In OKLCH its lightness is 56%, its chroma 0.155 and its hue 137°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Forest Green (#228B22), ΔE 0.022 away. Black text reads best on it, at 4.71:1.

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

Values

HEX#42871A
RGBrgb(66, 135, 26)
HSLhsl(98, 68%, 32%)
OKLCHoklch(55.7% 0.155 136.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 #42871A 4.45:1 AA large text Lc -76.1 Fine for body text
Black text on #42871A 4.71:1 AA Lc 33.5 Non-text elements, placeholder text
#42871A text on white 4.45:1 AA large text Lc 70.6 Content text, not long reading
#42871A text on black 4.71:1 AA Lc -31.0 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

    #E4EDE0

    oklch(93.6% 0.02 135.8)

  3. Step 200

    200

    #CEE0C7

    oklch(88.6% 0.039 136.9)

  4. Step 300

    300

    #ACCC9F

    oklch(81% 0.071 136.7)

  5. Step 400

    400

    #7FB16A

    oklch(70.7% 0.112 136.9)

  6. Step 500

    500

    #5D9D40

    oklch(63.2% 0.143 137.1)

  7. Step 600

    600 (this color)

    #42871A

    oklch(55.7% 0.155 136.9)

  8. Step 700

    700

    #337208

    oklch(49.1% 0.145 137)

  9. Step 800

    800

    #2B5D0E

    oklch(42.7% 0.12 137)

  10. Step 900

    900

    #284C15

    oklch(37.6% 0.093 136.6)

  11. Step 950

    950

    #182D0E

    oklch(27.1% 0.059 136.7)

Export this scale for Tailwind in the Tailwind colors tool

#42871A 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)#8C7B000.097
Deuteranopia (no green cones)#8375260.098
Tritanopia (no blue cones)#3E82730.110
Achromatopsia (no color)#7777770.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #42871A

    #42871A

    oklch(55.7% 0.155 136.9)

  • #9751AF

    #9751AF

    oklch(55.7% 0.156 316.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42871A

    #42871A

    oklch(55.7% 0.155 136.9)

  • #7C7700

    #7C7700

    oklch(55.6% 0.119 106.8)

  • #008865

    #008865

    oklch(55.6% 0.114 167)

Open the analogous palette in the generator

Split complementary

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

  • #42871A

    #42871A

    oklch(55.7% 0.155 136.9)

  • #7061C8

    #7061C8

    oklch(55.8% 0.154 287)

  • #B14685

    #B14685

    oklch(55.7% 0.156 347)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42871A

    #42871A

    oklch(55.7% 0.155 136.9)

  • #2F72CC

    #2F72CC

    oklch(55.7% 0.155 257)

  • #BD4452

    #BD4452

    oklch(55.7% 0.155 16.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42871A

    #42871A

    oklch(55.7% 0.155 136.9)

  • #007FA4

    #007FA4

    oklch(55.6% 0.108 227.1)

  • #9751AF

    #9751AF

    oklch(55.7% 0.156 316.8)

  • #B94F00

    #B94F00

    oklch(55.7% 0.155 46.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #42871A 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.