#A2B705

Closest named color: Mustard Green (#A8B504). oklch(73.7% 0.17 117.7), rgb(162, 183, 5).

Aa

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

About this color

#A2B705 is a medium-light, vivid yellow. In OKLCH its lightness is 74%, its chroma 0.170 and its hue 118°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Mustard Green (#A8B504), ΔE 0.009 away. Black text reads best on it, at 9.31:1.

Hue familyYellows
Lightnessmedium-light (74%)
Chromavivid (0.170)
Temperaturein between
Nearest nameMustard Green (#A8B504)
Black text9.31:1
White text2.25:1

Values

HEX#A2B705
RGBrgb(162, 183, 5)
HSLhsl(67, 95%, 37%)
OKLCHoklch(73.7% 0.17 117.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 #A2B705 2.25:1 Fails Lc -49.1 Large or bold text, headings
Black text on #A2B705 9.31:1 AAA Lc 59.7 Large or bold text, headings
#A2B705 text on white 2.25:1 Fails Lc 44.2 Non-text elements, placeholder text
#A2B705 text on black 9.31:1 AAA Lc -57.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

    #F4F7EC

    oklch(97.1% 0.015 119.1)

  2. Step 100

    100

    #E8EDD6

    oklch(93.6% 0.031 117)

  3. Step 200

    200

    #D5DFB3

    oklch(88.5% 0.059 118)

  4. Step 300

    300

    #BBCA79

    oklch(80.9% 0.106 117.4)

  5. Step 400

    400 (this color)

    #A2B705

    oklch(73.7% 0.17 117.7)

  6. Step 500

    500

    #839400

    oklch(63.1% 0.146 117.6)

  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

    #4B5600

    oklch(42.8% 0.1 117.9)

  10. Step 900

    900

    #3E4700

    oklch(37.7% 0.087 117.6)

  11. Step 950

    950

    #242A00

    oklch(27% 0.063 117.7)

Export this scale for Tailwind in the Tailwind colors tool

#A2B705 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)#C4AC000.055
Deuteranopia (no green cones)#C2AD240.055
Tritanopia (no blue cones)#ADAC9B0.147
Achromatopsia (no color)#ADADAD0.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #A2B705

    #A2B705

    oklch(73.7% 0.17 117.7)

  • #B692FF

    #B692FF

    oklch(73.7% 0.156 297.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A2B705

    #A2B705

    oklch(73.7% 0.17 117.7)

  • #D2A300

    #D2A300

    oklch(73.8% 0.151 87.8)

  • #4FC668

    #4FC668

    oklch(73.7% 0.17 147.8)

Open the analogous palette in the generator

Split complementary

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

  • #A2B705

    #A2B705

    oklch(73.7% 0.17 117.7)

  • #85A6FF

    #85A6FF

    oklch(73.8% 0.135 267.6)

  • #E27FE0

    #E27FE0

    oklch(73.7% 0.171 327.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A2B705

    #A2B705

    oklch(73.7% 0.17 117.7)

  • #23B6FF

    #23B6FF

    oklch(73.7% 0.155 237.7)

  • #FC76AA

    #FC76AA

    oklch(73.7% 0.171 357.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A2B705

    #A2B705

    oklch(73.7% 0.17 117.7)

  • #00C0D3

    #00C0D3

    oklch(73.8% 0.127 207.3)

  • #B692FF

    #B692FF

    oklch(73.7% 0.156 297.7)

  • #FF7D70

    #FF7D70

    oklch(73.7% 0.161 27.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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