#6A8238

Closest named color: Swamp (#698339). oklch(57.1% 0.105 124.6), rgb(106, 130, 56).

Aa

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

About this color

#6A8238 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 57%, its chroma 0.105 and its hue 125°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Swamp (#698339), ΔE 0.003 away. Black text reads best on it, at 4.86:1.

Hue familyYellows
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.105)
Temperaturein between
Nearest nameSwamp (#698339)
Black text4.86:1
White text4.31:1

Values

HEX#6A8238
RGBrgb(106, 130, 56)
HSLhsl(79, 40%, 36%)
OKLCHoklch(57.1% 0.105 124.6)

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 #6A8238 4.31:1 AA large text Lc -75.3 Fine for body text
Black text on #6A8238 4.86:1 AA Lc 34.3 Non-text elements, placeholder text
#6A8238 text on white 4.31:1 AA large text Lc 69.8 Content text, not long reading
#6A8238 text on black 4.86:1 AA Lc -31.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

    #F4F6F2

    oklch(97.1% 0.006 128.5)

  2. Step 100

    100

    #E8ECE2

    oklch(93.7% 0.014 124.6)

  3. Step 200

    200

    #D5DCCA

    oklch(88.4% 0.025 124.3)

  4. Step 300

    300

    #BAC6A5

    oklch(80.8% 0.047 123.7)

  5. Step 400

    400

    #96A975

    oklch(70.7% 0.075 124.6)

  6. Step 500

    500

    #7D9450

    oklch(63.2% 0.097 124.4)

  7. Step 600

    600 (this color)

    #6A8238

    oklch(57.1% 0.105 124.6)

  8. Step 700

    700

    #556A26

    oklch(49.2% 0.097 124.4)

  9. Step 800

    800

    #455621

    oklch(42.6% 0.08 124.6)

  10. Step 900

    900

    #3A4720

    oklch(37.6% 0.063 124.5)

  11. Step 950

    950

    #222A13

    oklch(27% 0.041 124.8)

Export this scale for Tailwind in the Tailwind colors tool

#6A8238 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)#897A310.048
Deuteranopia (no green cones)#85793D0.048
Tritanopia (no blue cones)#6E7C720.086
Achromatopsia (no color)#7A7A7A0.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #6A8238

    #6A8238

    oklch(57.1% 0.105 124.6)

  • #8667A9

    #8667A9

    oklch(57.1% 0.104 304.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6A8238

    #6A8238

    oklch(57.1% 0.105 124.6)

  • #8B7620

    #8B7620

    oklch(57% 0.105 94.7)

  • #3D8A5B

    #3D8A5B

    oklch(57.2% 0.106 154.4)

Open the analogous palette in the generator

Split complementary

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

  • #6A8238

    #6A8238

    oklch(57.1% 0.105 124.6)

  • #6572B5

    #6572B5

    oklch(57.1% 0.105 274.3)

  • #9D5F90

    #9D5F90

    oklch(57.1% 0.104 334.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6A8238

    #6A8238

    oklch(57.1% 0.105 124.6)

  • #3B7DB1

    #3B7DB1

    oklch(57% 0.105 245)

  • #AA5C70

    #AA5C70

    oklch(57.1% 0.104 4.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6A8238

    #6A8238

    oklch(57.1% 0.105 124.6)

  • #00869C

    #00869C

    oklch(57% 0.101 214.6)

  • #8667A9

    #8667A9

    oklch(57.1% 0.104 304.9)

  • #AC5F4D

    #AC5F4D

    oklch(57% 0.104 34.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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