#ABA218

Closest named color: Brown Yellow (#B29705). oklch(69.8% 0.143 105.4), rgb(171, 162, 24).

Aa

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

About this color

#ABA218 is a medium-light, vivid yellow. In OKLCH its lightness is 70%, its chroma 0.143 and its hue 105°. Its hue sits on the warm side of the wheel. The nearest named color is Brown Yellow (#B29705), ΔE 0.029 away. Black text reads best on it, at 7.91:1.

Hue familyYellows
Lightnessmedium-light (70%)
Chromavivid (0.143)
Temperaturewarm
Nearest nameBrown Yellow (#B29705)
Black text7.91:1
White text2.65:1

Values

HEX#ABA218
RGBrgb(171, 162, 24)
HSLhsl(56, 75%, 38%)
OKLCHoklch(69.8% 0.143 105.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 #ABA218 2.65:1 Fails Lc -56.7 Large or bold text, headings
Black text on #ABA218 7.91:1 AAA Lc 52.5 Large or bold text, headings
#ABA218 text on white 2.65:1 Fails Lc 51.5 Large or bold text, headings
#ABA218 text on black 7.91:1 AAA Lc -50.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

    #F6F6ED

    oklch(97.1% 0.012 106.6)

  2. Step 100

    100

    #ECEBD8

    oklch(93.6% 0.025 104.4)

  3. Step 200

    200

    #DDDCB6

    oklch(88.6% 0.05 106.1)

  4. Step 300

    300

    #C8C480

    oklch(80.8% 0.089 105.3)

  5. Step 400

    400 (this color)

    #ABA218

    oklch(69.8% 0.143 105.4)

  6. Step 500

    500

    #968D00

    oklch(63.1% 0.134 105.1)

  7. Step 600

    600

    #7E7600

    oklch(55.5% 0.118 104.9)

  8. Step 700

    700

    #6A6300

    oklch(49.1% 0.104 104.8)

  9. Step 800

    800

    #565100

    oklch(42.6% 0.091 105.5)

  10. Step 900

    900

    #484300

    oklch(37.6% 0.08 104.8)

  11. Step 950

    950

    #2B2800

    oklch(27.1% 0.058 105.3)

Export this scale for Tailwind in the Tailwind colors tool

#ABA218 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)#B19C000.016
Deuteranopia (no green cones)#B4A1260.017
Tritanopia (no blue cones)#B8968A0.131
Achromatopsia (no color)#9F9F9F0.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #ABA218

    #ABA218

    oklch(69.8% 0.143 105.4)

  • #968FF2

    #968FF2

    oklch(69.8% 0.143 285.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ABA218

    #ABA218

    oklch(69.8% 0.143 105.4)

  • #D08F13

    #D08F13

    oklch(69.8% 0.143 75.6)

  • #75B152

    #75B152

    oklch(69.8% 0.142 135.3)

Open the analogous palette in the generator

Split complementary

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

  • #ABA218

    #ABA218

    oklch(69.8% 0.143 105.4)

  • #5DA0F5

    #5DA0F5

    oklch(69.9% 0.143 255.2)

  • #BF80DA

    #BF80DA

    oklch(69.7% 0.143 315.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ABA218

    #ABA218

    oklch(69.8% 0.143 105.4)

  • #00AEDC

    #00AEDC

    oklch(69.9% 0.133 225.4)

  • #DB77B1

    #DB77B1

    oklch(69.8% 0.142 345.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ABA218

    #ABA218

    oklch(69.8% 0.143 105.4)

  • #00B4B5

    #00B4B5

    oklch(69.7% 0.119 195.5)

  • #968FF2

    #968FF2

    oklch(69.8% 0.143 285.3)

  • #E87580

    #E87580

    oklch(69.8% 0.142 15.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #ABA218.

Similar named colors

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

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