#AEB31A

Closest named color: Mustard Green (#A8B504). oklch(73.9% 0.157 111.8), rgb(174, 179, 26).

Aa

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

About this color

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

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

Values

HEX#AEB31A
RGBrgb(174, 179, 26)
HSLhsl(62, 75%, 40%)
OKLCHoklch(73.9% 0.157 111.8)

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 #AEB31A 2.26:1 Fails Lc -49.4 Large or bold text, headings
Black text on #AEB31A 9.26:1 AAA Lc 59.4 Large or bold text, headings
#AEB31A text on white 2.26:1 Fails Lc 44.5 Non-text elements, placeholder text
#AEB31A text on black 9.26:1 AAA Lc -57.6 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

    #F5F6ED

    oklch(97% 0.012 111.8)

  2. Step 100

    100

    #EAECD7

    oklch(93.6% 0.028 111.3)

  3. Step 200

    200

    #DADDB4

    oklch(88.5% 0.054 110.9)

  4. Step 300

    300

    #C2C77B

    oklch(80.8% 0.099 111.6)

  5. Step 400

    400 (this color)

    #AEB31A

    oklch(73.9% 0.157 111.8)

  6. Step 500

    500

    #8D9100

    oklch(63.2% 0.14 111.7)

  7. Step 600

    600

    #767900

    oklch(55.5% 0.122 111.5)

  8. Step 700

    700

    #636600

    oklch(49.1% 0.109 111.8)

  9. Step 800

    800

    #515300

    oklch(42.6% 0.094 111.4)

  10. Step 900

    900

    #434500

    oklch(37.6% 0.083 111.6)

  11. Step 950

    950

    #272900

    oklch(27% 0.06 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#AEB31A 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)#C2AA000.035
Deuteranopia (no green cones)#C2AE2B0.035
Tritanopia (no blue cones)#BBA7990.142
Achromatopsia (no color)#ACACAC0.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #AEB31A

    #AEB31A

    oklch(73.9% 0.157 111.8)

  • #AD98FF

    #AD98FF

    oklch(74% 0.147 291.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AEB31A

    #AEB31A

    oklch(73.9% 0.157 111.8)

  • #DA9F00

    #DA9F00

    oklch(73.9% 0.152 81.8)

  • #6CC362

    #6CC362

    oklch(74% 0.158 141.7)

Open the analogous palette in the generator

Split complementary

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

  • #AEB31A

    #AEB31A

    oklch(73.9% 0.157 111.8)

  • #7AA9FF

    #7AA9FF

    oklch(73.8% 0.135 261.8)

  • #D886E5

    #D886E5

    oklch(73.9% 0.158 321.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AEB31A

    #AEB31A

    oklch(73.9% 0.157 111.8)

  • #00B9F8

    #00B9F8

    oklch(73.8% 0.151 232)

  • #F37DB5

    #F37DB5

    oklch(73.9% 0.157 351.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AEB31A

    #AEB31A

    oklch(73.9% 0.157 111.8)

  • #00C1CC

    #00C1CC

    oklch(73.8% 0.126 202.1)

  • #AD98FF

    #AD98FF

    oklch(74% 0.147 291.8)

  • #FE7D7D

    #FE7D7D

    oklch(73.8% 0.158 21.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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