#A7A142

Closest named color: Brown Yellow (#B29705). oklch(69.5% 0.117 105.7), rgb(167, 161, 66).

Aa

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

About this color

#A7A142 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 70%, its chroma 0.117 and its hue 106°. Its hue sits on the warm side of the wheel. The nearest named color is Brown Yellow (#B29705), ΔE 0.034 away. Black text reads best on it, at 7.81:1.

Hue familyYellows
Lightnessmedium-light (70%)
Chromamoderately saturated (0.117)
Temperaturewarm
Nearest nameBrown Yellow (#B29705)
Black text7.81:1
White text2.68:1

Values

HEX#A7A142
RGBrgb(167, 161, 66)
HSLhsl(56, 43%, 46%)
OKLCHoklch(69.5% 0.117 105.7)

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 #A7A142 2.68:1 Fails Lc -57.3 Large or bold text, headings
Black text on #A7A142 7.81:1 AAA Lc 52.0 Large or bold text, headings
#A7A142 text on white 2.68:1 Fails Lc 52.1 Large or bold text, headings
#A7A142 text on black 7.81:1 AAA Lc -49.8 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

    #F6F6EF

    oklch(97.1% 0.009 106.6)

  2. Step 100

    100

    #EBEBDB

    oklch(93.6% 0.021 106.8)

  3. Step 200

    200

    #DCDBBD

    oklch(88.4% 0.04 105.6)

  4. Step 300

    300

    #C7C48D

    oklch(80.9% 0.073 105.3)

  5. Step 400

    400 (this color)

    #A7A142

    oklch(69.5% 0.117 105.7)

  6. Step 500

    500

    #958D00

    oklch(63% 0.134 105.6)

  7. Step 600

    600

    #7D7700

    oklch(55.7% 0.119 106.2)

  8. Step 700

    700

    #696300

    oklch(49% 0.104 105.5)

  9. Step 800

    800

    #565100

    oklch(42.6% 0.091 105.5)

  10. Step 900

    900

    #484400

    oklch(37.8% 0.081 105.9)

  11. Step 950

    950

    #2A2800

    oklch(27% 0.058 106.8)

Export this scale for Tailwind in the Tailwind colors tool

#A7A142 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)#AE9B370.017
Deuteranopia (no green cones)#B0A0470.015
Tritanopia (no blue cones)#B3978D0.107
Achromatopsia (no color)#9E9E9E0.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #A7A142

    #A7A142

    oklch(69.5% 0.117 105.7)

  • #9692E2

    #9692E2

    oklch(69.5% 0.116 285.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A7A142

    #A7A142

    oklch(69.5% 0.117 105.7)

  • #C69240

    #C69240

    oklch(69.5% 0.116 75.9)

  • #7CAD62

    #7CAD62

    oklch(69.5% 0.116 135.5)

Open the analogous palette in the generator

Split complementary

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

  • #A7A142

    #A7A142

    oklch(69.5% 0.117 105.7)

  • #6B9FE4

    #6B9FE4

    oklch(69.5% 0.116 255.9)

  • #B986CE

    #B986CE

    oklch(69.6% 0.116 315.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A7A142

    #A7A142

    oklch(69.5% 0.117 105.7)

  • #36ABD4

    #36ABD4

    oklch(69.5% 0.117 226.1)

  • #D07EAD

    #D07EAD

    oklch(69.4% 0.117 345.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A7A142

    #A7A142

    oklch(69.5% 0.117 105.7)

  • #0EB3B4

    #0EB3B4

    oklch(69.5% 0.117 195.5)

  • #9692E2

    #9692E2

    oklch(69.5% 0.116 285.2)

  • #DB7D85

    #DB7D85

    oklch(69.4% 0.117 15.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #A7A142.

Similar named colors

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

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