#6F8A28

Closest named color: Olive Drab (#6B8E23). oklch(59.3% 0.127 123.7), rgb(111, 138, 40).

Aa

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

About this color

#6F8A28 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 59%, its chroma 0.127 and its hue 124°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Olive Drab (#6B8E23), ΔE 0.014 away. Black text reads best on it, at 5.34:1.

Hue familyYellows
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.127)
Temperaturein between
Nearest nameOlive Drab (#6B8E23)
Black text5.34:1
White text3.93:1

Values

HEX#6F8A28
RGBrgb(111, 138, 40)
HSLhsl(77, 55%, 35%)
OKLCHoklch(59.3% 0.127 123.7)

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 #6F8A28 3.93:1 AA large text Lc -72.1 Content text, not long reading
Black text on #6F8A28 5.34:1 AA Lc 37.5 Non-text elements, placeholder text
#6F8A28 text on white 3.93:1 AA large text Lc 66.6 Content text, not long reading
#6F8A28 text on black 5.34:1 AA Lc -35.1 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

    #F4F6F1

    oklch(97% 0.007 124.4)

  2. Step 100

    100

    #E7ECE0

    oklch(93.6% 0.017 125.3)

  3. Step 200

    200

    #D5DDC6

    oklch(88.5% 0.032 122.7)

  4. Step 300

    300

    #B9C79F

    oklch(80.8% 0.057 123.3)

  5. Step 400

    400

    #95AA6A

    oklch(70.6% 0.09 123.5)

  6. Step 500

    500

    #7B953F

    oklch(63.1% 0.117 123.8)

  7. Step 600

    600 (this color)

    #6F8A28

    oklch(59.3% 0.127 123.7)

  8. Step 700

    700

    #536B08

    oklch(49.1% 0.118 123.9)

  9. Step 800

    800

    #44570E

    oklch(42.6% 0.097 123.7)

  10. Step 900

    900

    #394815

    oklch(37.7% 0.076 124)

  11. Step 950

    950

    #222A0E

    oklch(27% 0.047 122.9)

Export this scale for Tailwind in the Tailwind colors tool

#6F8A28 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)#9281190.053
Deuteranopia (no green cones)#8E80300.054
Tritanopia (no blue cones)#7583770.106
Achromatopsia (no color)#8080800.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #6F8A28

    #6F8A28

    oklch(59.3% 0.127 123.7)

  • #8E69BB

    #8E69BB

    oklch(59.2% 0.127 303.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6F8A28

    #6F8A28

    oklch(59.3% 0.127 123.7)

  • #967C00

    #967C00

    oklch(59.3% 0.122 94.2)

  • #319359

    #319359

    oklch(59.1% 0.127 153.6)

Open the analogous palette in the generator

Split complementary

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

  • #6F8A28

    #6F8A28

    oklch(59.3% 0.127 123.7)

  • #6777C9

    #6777C9

    oklch(59.4% 0.126 273.6)

  • #AA5F9D

    #AA5F9D

    oklch(59.2% 0.126 333.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6F8A28

    #6F8A28

    oklch(59.3% 0.127 123.7)

  • #2985C3

    #2985C3

    oklch(59.3% 0.126 243.2)

  • #BA5A76

    #BA5A76

    oklch(59.2% 0.127 3.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6F8A28

    #6F8A28

    oklch(59.3% 0.127 123.7)

  • #008DA3

    #008DA3

    oklch(59.1% 0.104 213.7)

  • #8E69BB

    #8E69BB

    oklch(59.2% 0.127 303.6)

  • #BD5E4A

    #BD5E4A

    oklch(59.2% 0.127 33.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6F8A28 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.