#AFB45A

Closest named color: Light Olive (#ACBF69). oklch(74.7% 0.114 111.7), rgb(175, 180, 90).

Aa

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

About this color

#AFB45A is a medium-light, moderately saturated yellow. In OKLCH its lightness is 75%, its chroma 0.114 and its hue 112°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Olive (#ACBF69), ΔE 0.029 away. Black text reads best on it, at 9.49:1.

Hue familyYellows
Lightnessmedium-light (75%)
Chromamoderately saturated (0.114)
Temperaturein between
Nearest nameLight Olive (#ACBF69)
Black text9.49:1
White text2.21:1

Values

HEX#AFB45A
RGBrgb(175, 180, 90)
HSLhsl(63, 38%, 53%)
OKLCHoklch(74.7% 0.114 111.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 #AFB45A 2.21:1 Fails Lc -48.2 Large or bold text, headings
Black text on #AFB45A 9.49:1 AAA Lc 60.5 Content text, not long reading
#AFB45A text on white 2.21:1 Fails Lc 43.5 Non-text elements, placeholder text
#AFB45A text on black 9.49:1 AAA Lc -58.7 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

    #EAEBDC

    oklch(93.5% 0.02 109.9)

  3. Step 200

    200

    #D9DCBF

    oklch(88.4% 0.039 112)

  4. Step 300

    300

    #C1C690

    oklch(80.9% 0.072 112.3)

  5. Step 400

    400 (this color)

    #AFB45A

    oklch(74.7% 0.114 111.7)

  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

    #282900

    oklch(27.1% 0.06 111.2)

Export this scale for Tailwind in the Tailwind colors tool

#AFB45A 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)#C0AD520.028
Deuteranopia (no green cones)#C0B05F0.028
Tritanopia (no blue cones)#B9AB9F0.100
Achromatopsia (no color)#AEAEAE0.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB45A

    #AFB45A

    oklch(74.7% 0.114 111.7)

  • #AE9FEF

    #AE9FEF

    oklch(74.6% 0.114 292)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB45A

    #AFB45A

    oklch(74.7% 0.114 111.7)

  • #D1A551

    #D1A551

    oklch(74.6% 0.114 81.6)

  • #83BF7B

    #83BF7B

    oklch(74.6% 0.114 141.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFB45A

    #AFB45A

    oklch(74.7% 0.114 111.7)

  • #85ADF5

    #85ADF5

    oklch(74.7% 0.113 261.7)

  • #CF94D8

    #CF94D8

    oklch(74.6% 0.115 322)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB45A

    #AFB45A

    oklch(74.7% 0.114 111.7)

  • #57B9E8

    #57B9E8

    oklch(74.6% 0.114 231.9)

  • #E48EB5

    #E48EB5

    oklch(74.7% 0.114 351.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB45A

    #AFB45A

    oklch(74.7% 0.114 111.7)

  • #38C2CB

    #38C2CB

    oklch(74.7% 0.114 201.5)

  • #AE9FEF

    #AE9FEF

    oklch(74.6% 0.114 292)

  • #EC8F8D

    #EC8F8D

    oklch(74.6% 0.113 21.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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