#A7B142

Closest named color: Mustard Green (#A8B504). oklch(73.1% 0.134 114.1), rgb(167, 177, 66).

Aa

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

About this color

#A7B142 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 73%, its chroma 0.134 and its hue 114°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Mustard Green (#A8B504), ΔE 0.033 away. Black text reads best on it, at 9.01:1.

Hue familyYellows
Lightnessmedium-light (73%)
Chromamoderately saturated (0.134)
Temperaturein between
Nearest nameMustard Green (#A8B504)
Black text9.01:1
White text2.33:1

Values

HEX#A7B142
RGBrgb(167, 177, 66)
HSLhsl(65, 46%, 48%)
OKLCHoklch(73.1% 0.134 114.1)

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 #A7B142 2.33:1 Fails Lc -50.8 Large or bold text, headings
Black text on #A7B142 9.01:1 AAA Lc 58.1 Large or bold text, headings
#A7B142 text on white 2.33:1 Fails Lc 45.9 Large or bold text, headings
#A7B142 text on black 9.01:1 AAA Lc -56.2 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

    #F5F6EE

    oklch(97% 0.011 112.4)

  2. Step 100

    100

    #E9ECDA

    oklch(93.6% 0.024 114.5)

  3. Step 200

    200

    #D8DDBA

    oklch(88.5% 0.047 114)

  4. Step 300

    300

    #BFC788

    oklch(80.8% 0.084 114.2)

  5. Step 400

    400 (this color)

    #A7B142

    oklch(73.1% 0.134 114.1)

  6. Step 500

    500

    #899200

    oklch(63.1% 0.142 114.1)

  7. Step 600

    600

    #737B00

    oklch(55.7% 0.125 114.2)

  8. Step 700

    700

    #606700

    oklch(49.1% 0.111 114.3)

  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

#A7B142 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)#BDA9340.035
Deuteranopia (no green cones)#BDAB490.037
Tritanopia (no blue cones)#B1A79A0.119
Achromatopsia (no color)#AAAAAA0.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #A7B142

    #A7B142

    oklch(73.1% 0.134 114.1)

  • #AD96F4

    #AD96F4

    oklch(73.1% 0.135 294.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A7B142

    #A7B142

    oklch(73.1% 0.134 114.1)

  • #CFA030

    #CFA030

    oklch(73.1% 0.134 84.5)

  • #70BE70

    #70BE70

    oklch(73.2% 0.135 144)

Open the analogous palette in the generator

Split complementary

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

  • #A7B142

    #A7B142

    oklch(73.1% 0.134 114.1)

  • #7DA6FC

    #7DA6FC

    oklch(73.1% 0.133 264)

  • #D189D7

    #D189D7

    oklch(73% 0.134 324.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A7B142

    #A7B142

    oklch(73.1% 0.134 114.1)

  • #3AB5EF

    #3AB5EF

    oklch(73.1% 0.134 233.8)

  • #E882AE

    #E882AE

    oklch(73% 0.134 353.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A7B142

    #A7B142

    oklch(73.1% 0.134 114.1)

  • #00BECC

    #00BECC

    oklch(73.1% 0.125 204.2)

  • #AD96F4

    #AD96F4

    oklch(73.1% 0.135 294.1)

  • #F1847E

    #F1847E

    oklch(73.2% 0.134 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 #A7B142, closest first.

Similar named colors

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

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