#A6AF4E

Closest named color: Light Olive Green (#A4BE5C). oklch(72.7% 0.122 113.9), rgb(166, 175, 78).

Aa

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

About this color

#A6AF4E is a medium-light, moderately saturated yellow. In OKLCH its lightness is 73%, its chroma 0.122 and its hue 114°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Olive Green (#A4BE5C), ΔE 0.039 away. Black text reads best on it, at 8.86:1.

Hue familyYellows
Lightnessmedium-light (73%)
Chromamoderately saturated (0.122)
Temperaturein between
Nearest nameLight Olive Green (#A4BE5C)
Black text8.86:1
White text2.36:1

Values

HEX#A6AF4E
RGBrgb(166, 175, 78)
HSLhsl(66, 38%, 50%)
OKLCHoklch(72.7% 0.122 113.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 #A6AF4E 2.36:1 Fails Lc -51.6 Large or bold text, headings
Black text on #A6AF4E 8.86:1 AAA Lc 57.4 Large or bold text, headings
#A6AF4E text on white 2.36:1 Fails Lc 46.6 Large or bold text, headings
#A6AF4E text on black 8.86:1 AAA Lc -55.4 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F5F6EF

    oklch(97% 0.009 113.2)

  2. Step 100

    100

    #E9ECDB

    oklch(93.6% 0.023 115)

  3. Step 200

    200

    #D8DDBD

    oklch(88.5% 0.043 114.5)

  4. Step 300

    300

    #C0C78E

    oklch(81% 0.076 113.8)

  5. Step 400

    400 (this color)

    #A6AF4E

    oklch(72.7% 0.122 113.9)

  6. Step 500

    500

    #899200

    oklch(63.1% 0.142 114.1)

  7. Step 600

    600

    #737A00

    oklch(55.5% 0.124 113.7)

  8. Step 700

    700

    #616700

    oklch(49.2% 0.11 113.7)

  9. Step 800

    800

    #4F5400

    oklch(42.7% 0.096 113.7)

  10. Step 900

    900

    #414600

    oklch(37.7% 0.085 114.3)

  11. Step 950

    950

    #262900

    oklch(26.9% 0.06 113.9)

Export this scale for Tailwind in the Tailwind colors tool

#A6AF4E 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)#BAA7440.033
Deuteranopia (no green cones)#BAA9540.035
Tritanopia (no blue cones)#B0A69A0.107
Achromatopsia (no color)#A8A8A80.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #A6AF4E

    #A6AF4E

    oklch(72.7% 0.122 113.9)

  • #AB97EC

    #AB97EC

    oklch(72.7% 0.122 293.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A6AF4E

    #A6AF4E

    oklch(72.7% 0.122 113.9)

  • #CB9F41

    #CB9F41

    oklch(72.6% 0.122 83.4)

  • #75BB74

    #75BB74

    oklch(72.8% 0.123 143.9)

Open the analogous palette in the generator

Split complementary

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

  • #A6AF4E

    #A6AF4E

    oklch(72.7% 0.122 113.9)

  • #7FA5F3

    #7FA5F3

    oklch(72.6% 0.122 263.8)

  • #CC8CD2

    #CC8CD2

    oklch(72.7% 0.121 323.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A6AF4E

    #A6AF4E

    oklch(72.7% 0.122 113.9)

  • #4AB3E7

    #4AB3E7

    oklch(72.7% 0.122 233.6)

  • #E285AC

    #E285AC

    oklch(72.7% 0.122 353.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A6AF4E

    #A6AF4E

    oklch(72.7% 0.122 113.9)

  • #11BCC9

    #11BCC9

    oklch(72.6% 0.122 203.8)

  • #AB97EC

    #AB97EC

    oklch(72.7% 0.122 293.9)

  • #E98781

    #E98781

    oklch(72.7% 0.121 24.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #A6AF4E 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.