#6F8A02

Closest named color: Olive Drab (#6B8E23). oklch(59.1% 0.143 122.4), rgb(111, 138, 2).

Aa

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

About this color

#6F8A02 is a medium-dark, vivid yellow. In OKLCH its lightness is 59%, its chroma 0.143 and its hue 122°. 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.31:1.

Hue familyYellows
Lightnessmedium-dark (59%)
Chromavivid (0.143)
Temperaturein between
Nearest nameOlive Drab (#6B8E23)
Black text5.31:1
White text3.95:1

Values

HEX#6F8A02
RGBrgb(111, 138, 2)
HSLhsl(72, 97%, 27%)
OKLCHoklch(59.1% 0.143 122.4)

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 #6F8A02 3.95:1 AA large text Lc -72.2 Content text, not long reading
Black text on #6F8A02 5.31:1 AA Lc 37.4 Non-text elements, placeholder text
#6F8A02 text on white 3.95:1 AA large text Lc 66.7 Content text, not long reading
#6F8A02 text on black 5.31:1 AA Lc -35.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

    #F4F6F0

    oklch(97% 0.008 121.6)

  2. Step 100

    100

    #E7ECDF

    oklch(93.6% 0.018 124)

  3. Step 200

    200

    #D5DDC4

    oklch(88.5% 0.035 121.6)

  4. Step 300

    300

    #B9C89A

    oklch(80.9% 0.064 122.5)

  5. Step 400

    400

    #95AB60

    oklch(70.7% 0.103 122.4)

  6. Step 500

    500

    #7C962E

    oklch(63.2% 0.132 122.4)

  7. Step 600

    600 (this color)

    #6F8A02

    oklch(59.1% 0.143 122.4)

  8. Step 700

    700

    #556B00

    oklch(49.2% 0.12 122.6)

  9. Step 800

    800

    #455700

    oklch(42.6% 0.104 122.4)

  10. Step 900

    900

    #3A4808

    oklch(37.6% 0.086 121.9)

  11. Step 950

    950

    #222A09

    oklch(26.9% 0.053 121.7)

Export this scale for Tailwind in the Tailwind colors tool

#6F8A02 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)#9381000.057
Deuteranopia (no green cones)#9080190.058
Tritanopia (no blue cones)#7682750.121
Achromatopsia (no color)#8080800.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #6F8A02

    #6F8A02

    oklch(59.1% 0.143 122.4)

  • #8E65C3

    #8E65C3

    oklch(59% 0.144 302.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6F8A02

    #6F8A02

    oklch(59.1% 0.143 122.4)

  • #977A00

    #977A00

    oklch(59% 0.121 92.1)

  • #1F9551

    #1F9551

    oklch(59.1% 0.144 152.3)

Open the analogous palette in the generator

Split complementary

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

  • #6F8A02

    #6F8A02

    oklch(59.1% 0.143 122.4)

  • #6175D2

    #6175D2

    oklch(59.1% 0.143 272.2)

  • #AE59A2

    #AE59A2

    oklch(59.1% 0.144 332.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6F8A02

    #6F8A02

    oklch(59.1% 0.143 122.4)

  • #0085CA

    #0085CA

    oklch(59.2% 0.142 242.5)

  • #C05376

    #C05376

    oklch(59% 0.144 2.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6F8A02

    #6F8A02

    oklch(59.1% 0.143 122.4)

  • #008DA1

    #008DA1

    oklch(59.1% 0.103 212.1)

  • #8E65C3

    #8E65C3

    oklch(59% 0.144 302.3)

  • #C45743

    #C45743

    oklch(59.1% 0.144 32.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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