#A8AF4E

Closest named color: Light Olive Green (#A4BE5C). oklch(72.8% 0.121 112.8), rgb(168, 175, 78).

Aa

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

About this color

#A8AF4E is a medium-light, moderately saturated yellow. In OKLCH its lightness is 73%, its chroma 0.121 and its hue 113°. 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.90:1.

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

Values

HEX#A8AF4E
RGBrgb(168, 175, 78)
HSLhsl(64, 38%, 50%)
OKLCHoklch(72.8% 0.121 112.8)

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 #A8AF4E 2.35:1 Fails Lc -51.3 Large or bold text, headings
Black text on #A8AF4E 8.90:1 AAA Lc 57.6 Large or bold text, headings
#A8AF4E text on white 2.35:1 Fails Lc 46.4 Large or bold text, headings
#A8AF4E text on black 8.90:1 AAA Lc -55.6 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

    #EAECDB

    oklch(93.7% 0.023 112.3)

  3. Step 200

    200

    #D9DDBD

    oklch(88.6% 0.043 113.1)

  4. Step 300

    300

    #C1C68D

    oklch(80.9% 0.076 112.2)

  5. Step 400

    400 (this color)

    #A8AF4E

    oklch(72.8% 0.121 112.8)

  6. Step 500

    500

    #8B9100

    oklch(63% 0.14 112.7)

  7. Step 600

    600

    #757A00

    oklch(55.6% 0.124 112.6)

  8. Step 700

    700

    #626600

    oklch(49% 0.109 112.4)

  9. Step 800

    800

    #505400

    oklch(42.8% 0.095 112.9)

  10. Step 900

    900

    #424600

    oklch(37.8% 0.084 113.4)

  11. Step 950

    950

    #272900

    oklch(27% 0.06 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#A8AF4E 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)#BBA8440.030
Deuteranopia (no green cones)#BBAA540.032
Tritanopia (no blue cones)#B2A69A0.107
Achromatopsia (no color)#A9A9A90.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #A8AF4E

    #A8AF4E

    oklch(72.8% 0.121 112.8)

  • #AA98ED

    #AA98ED

    oklch(72.8% 0.122 292.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A8AF4E

    #A8AF4E

    oklch(72.8% 0.121 112.8)

  • #CC9F42

    #CC9F42

    oklch(72.7% 0.121 82.7)

  • #78BB73

    #78BB73

    oklch(72.9% 0.122 142.7)

Open the analogous palette in the generator

Split complementary

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

  • #A8AF4E

    #A8AF4E

    oklch(72.8% 0.121 112.8)

  • #7EA6F4

    #7EA6F4

    oklch(72.8% 0.122 263)

  • #CC8DD4

    #CC8DD4

    oklch(73% 0.121 322.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A8AF4E

    #A8AF4E

    oklch(72.8% 0.121 112.8)

  • #49B4E7

    #49B4E7

    oklch(72.9% 0.122 232.7)

  • #E286AE

    #E286AE

    oklch(72.9% 0.122 353)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A8AF4E

    #A8AF4E

    oklch(72.8% 0.121 112.8)

  • #15BDC9

    #15BDC9

    oklch(72.8% 0.121 203.1)

  • #AA98ED

    #AA98ED

    oklch(72.8% 0.122 292.8)

  • #EA8783

    #EA8783

    oklch(72.9% 0.122 22.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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