#6F840A

Closest named color: Swamp Green (#748500). oklch(57.6% 0.134 120.4), rgb(111, 132, 10).

Aa

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

About this color

#6F840A is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 58%, its chroma 0.134 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Swamp Green (#748500), ΔE 0.008 away. Black text reads best on it, at 4.98:1.

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.134)
Temperaturein between
Nearest nameSwamp Green (#748500)
Black text4.98:1
White text4.21:1

Values

HEX#6F840A
RGBrgb(111, 132, 10)
HSLhsl(70, 86%, 28%)
OKLCHoklch(57.6% 0.134 120.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 #6F840A 4.21:1 AA large text Lc -74.4 Content text, not long reading
Black text on #6F840A 4.98:1 AA Lc 35.2 Non-text elements, placeholder text
#6F840A text on white 4.21:1 AA large text Lc 68.9 Content text, not long reading
#6F840A text on black 4.98:1 AA Lc -32.7 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

    #E8ECDF

    oklch(93.6% 0.018 120.7)

  3. Step 200

    200

    #D6DDC4

    oklch(88.5% 0.034 119.8)

  4. Step 300

    300

    #BBC79B

    oklch(80.9% 0.061 120.2)

  5. Step 400

    400

    #98AA63

    oklch(70.7% 0.097 120.6)

  6. Step 500

    500

    #809434

    oklch(63.1% 0.123 120.1)

  7. Step 600

    600 (this color)

    #6F840A

    oklch(57.6% 0.134 120.4)

  8. Step 700

    700

    #586A00

    oklch(49.2% 0.117 120.6)

  9. Step 800

    800

    #485600

    oklch(42.6% 0.101 120)

  10. Step 900

    900

    #3C480D

    oklch(37.8% 0.081 120.6)

  11. Step 950

    950

    #232A0A

    oklch(27% 0.052 120.4)

Export this scale for Tailwind in the Tailwind colors tool

#6F840A 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)#8D7C000.048
Deuteranopia (no green cones)#8B7C1B0.049
Tritanopia (no blue cones)#767C700.115
Achromatopsia (no color)#7B7B7B0.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #6F840A

    #6F840A

    oklch(57.6% 0.134 120.4)

  • #8664BC

    #8664BC

    oklch(57.6% 0.135 300)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6F840A

    #6F840A

    oklch(57.6% 0.134 120.4)

  • #947500

    #947500

    oklch(57.6% 0.118 90.2)

  • #2D8F4D

    #2D8F4D

    oklch(57.7% 0.135 150.5)

Open the analogous palette in the generator

Split complementary

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

  • #6F840A

    #6F840A

    oklch(57.6% 0.134 120.4)

  • #5B72C8

    #5B72C8

    oklch(57.5% 0.135 270.4)

  • #A5599E

    #A5599E

    oklch(57.7% 0.134 330.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6F840A

    #6F840A

    oklch(57.6% 0.134 120.4)

  • #0081BF

    #0081BF

    oklch(57.6% 0.133 240.4)

  • #B75375

    #B75375

    oklch(57.7% 0.134 0.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6F840A

    #6F840A

    oklch(57.6% 0.134 120.4)

  • #00899A

    #00899A

    oklch(57.7% 0.1 210)

  • #8664BC

    #8664BC

    oklch(57.6% 0.135 300)

  • #BB5647

    #BB5647

    oklch(57.6% 0.134 30.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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