#A7B151

Closest named color: Light Olive Green (#A4BE5C). oklch(73.2% 0.121 114.4), rgb(167, 177, 81).

Aa

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

About this color

#A7B151 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 73%, its chroma 0.121 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.033 away. Black text reads best on it, at 9.05:1.

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

Values

HEX#A7B151
RGBrgb(167, 177, 81)
HSLhsl(66, 38%, 51%)
OKLCHoklch(73.2% 0.121 114.4)

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 #A7B151 2.32:1 Fails Lc -50.6 Large or bold text, headings
Black text on #A7B151 9.05:1 AAA Lc 58.3 Large or bold text, headings
#A7B151 text on white 2.32:1 Fails Lc 45.7 Large or bold text, headings
#A7B151 text on black 9.05:1 AAA Lc -56.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

    #D8DDBE

    oklch(88.6% 0.042 114.7)

  4. Step 300

    300

    #BFC78E

    oklch(80.9% 0.076 114.6)

  5. Step 400

    400 (this color)

    #A7B151

    oklch(73.2% 0.121 114.4)

  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

    #4E5400

    oklch(42.6% 0.096 114.4)

  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

#A7B151 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)#BCA9480.034
Deuteranopia (no green cones)#BCAB560.035
Tritanopia (no blue cones)#B0A89C0.106
Achromatopsia (no color)#AAAAAA0.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #A7B151

    #A7B151

    oklch(73.2% 0.121 114.4)

  • #AD99ED

    #AD99ED

    oklch(73.3% 0.121 294.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A7B151

    #A7B151

    oklch(73.2% 0.121 114.4)

  • #CCA244

    #CCA244

    oklch(73.3% 0.121 84.6)

  • #76BC77

    #76BC77

    oklch(73.1% 0.121 144.5)

Open the analogous palette in the generator

Split complementary

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

  • #A7B151

    #A7B151

    oklch(73.2% 0.121 114.4)

  • #82A7F5

    #82A7F5

    oklch(73.3% 0.121 264.3)

  • #CE8DD3

    #CE8DD3

    oklch(73.1% 0.121 324.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A7B151

    #A7B151

    oklch(73.2% 0.121 114.4)

  • #4EB4E9

    #4EB4E9

    oklch(73.2% 0.121 234.6)

  • #E487AD

    #E487AD

    oklch(73.3% 0.122 354.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A7B151

    #A7B151

    oklch(73.2% 0.121 114.4)

  • #1BBECC

    #1BBECC

    oklch(73.3% 0.121 204.5)

  • #AD99ED

    #AD99ED

    oklch(73.3% 0.121 294.2)

  • #EB8982

    #EB8982

    oklch(73.3% 0.121 24.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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