#A2B158

Closest named color: Light Olive Green (#A4BE5C). oklch(72.9% 0.116 117.3), rgb(162, 177, 88).

Aa

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

About this color

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

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

Values

HEX#A2B158
RGBrgb(162, 177, 88)
HSLhsl(70, 36%, 52%)
OKLCHoklch(72.9% 0.116 117.3)

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 #A2B158 2.34:1 Fails Lc -51.0 Large or bold text, headings
Black text on #A2B158 8.96:1 AAA Lc 57.9 Large or bold text, headings
#A2B158 text on white 2.34:1 Fails Lc 46.1 Large or bold text, headings
#A2B158 text on black 8.96:1 AAA Lc -55.9 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

    #E8ECDC

    oklch(93.6% 0.022 118.2)

  3. Step 200

    200

    #D7DDBF

    oklch(88.5% 0.041 116.4)

  4. Step 300

    300

    #BDC792

    oklch(80.9% 0.072 116.7)

  5. Step 400

    400 (this color)

    #A2B158

    oklch(72.9% 0.116 117.3)

  6. Step 500

    500

    #849400

    oklch(63.2% 0.146 117.1)

  7. Step 600

    600

    #6E7C00

    oklch(55.5% 0.128 117.3)

  8. Step 700

    700

    #5C6800

    oklch(49% 0.113 117.4)

  9. Step 800

    800

    #4B5500

    oklch(42.6% 0.098 117.3)

  10. Step 900

    900

    #3E4700

    oklch(37.7% 0.087 117.6)

  11. Step 950

    950

    #242A01

    oklch(27% 0.061 117.8)

Export this scale for Tailwind in the Tailwind colors tool

#A2B158 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)#BBA9500.038
Deuteranopia (no green cones)#BAAA5D0.040
Tritanopia (no blue cones)#AAA99D0.099
Achromatopsia (no color)#A9A9A90.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #A2B158

    #A2B158

    oklch(72.9% 0.116 117.3)

  • #AF97E7

    #AF97E7

    oklch(72.8% 0.116 297.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A2B158

    #A2B158

    oklch(72.9% 0.116 117.3)

  • #C7A349

    #C7A349

    oklch(73.1% 0.116 87.3)

  • #73BB7C

    #73BB7C

    oklch(72.8% 0.116 147.2)

Open the analogous palette in the generator

Split complementary

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

  • #A2B158

    #A2B158

    oklch(72.9% 0.116 117.3)

  • #87A5F1

    #87A5F1

    oklch(73% 0.116 267.1)

  • #CE8DCD

    #CE8DCD

    oklch(72.9% 0.115 327.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A2B158

    #A2B158

    oklch(72.9% 0.116 117.3)

  • #58B2E7

    #58B2E7

    oklch(73% 0.115 237.1)

  • #E188A8

    #E188A8

    oklch(72.9% 0.115 357.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A2B158

    #A2B158

    oklch(72.9% 0.116 117.3)

  • #2EBBCC

    #2EBBCC

    oklch(72.8% 0.115 207.3)

  • #AF97E7

    #AF97E7

    oklch(72.8% 0.116 297.2)

  • #E78A7F

    #E78A7F

    oklch(72.9% 0.116 27.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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