#AFB60D

Closest named color: Mustard Green (#A8B504). oklch(74.6% 0.163 112.5), rgb(175, 182, 13).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (75%)
Chromavivid (0.163)
Temperaturein between
Nearest nameMustard Green (#A8B504)
Black text9.51:1
White text2.20:1

Values

HEX#AFB60D
RGBrgb(175, 182, 13)
HSLhsl(62, 87%, 38%)
OKLCHoklch(74.6% 0.163 112.5)

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 #AFB60D 2.20:1 Fails Lc -48.0 Large or bold text, headings
Black text on #AFB60D 9.51:1 AAA Lc 60.7 Content text, not long reading
#AFB60D text on white 2.20:1 Fails Lc 43.2 Non-text elements, placeholder text
#AFB60D text on black 9.51:1 AAA Lc -58.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

    #F5F7EC

    oklch(97.2% 0.015 115)

  2. Step 100

    100

    #EAECD6

    oklch(93.6% 0.029 111.2)

  3. Step 200

    200

    #D9DEB3

    oklch(88.6% 0.057 113)

  4. Step 300

    300

    #C1C879

    oklch(80.9% 0.102 112.8)

  5. Step 400

    400 (this color)

    #AFB60D

    oklch(74.6% 0.163 112.5)

  6. Step 500

    500

    #8B9100

    oklch(63% 0.14 112.7)

  7. Step 600

    600

    #757A00

    oklch(55.6% 0.124 112.6)

  8. Step 700

    700

    #626600

    oklch(49% 0.109 112.4)

  9. Step 800

    800

    #505400

    oklch(42.8% 0.095 112.9)

  10. Step 900

    900

    #434600

    oklch(37.9% 0.084 112.5)

  11. Step 950

    950

    #272900

    oklch(27% 0.06 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFB60D 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)#C5AD000.038
Deuteranopia (no green cones)#C5B0250.038
Tritanopia (no blue cones)#BCAA9B0.146
Achromatopsia (no color)#AFAFAF0.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB60D

    #AFB60D

    oklch(74.6% 0.163 112.5)

  • #B09AFF

    #B09AFF

    oklch(74.6% 0.144 292.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB60D

    #AFB60D

    oklch(74.6% 0.163 112.5)

  • #DCA100

    #DCA100

    oklch(74.5% 0.154 82.1)

  • #68C662

    #68C662

    oklch(74.6% 0.164 142.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFB60D

    #AFB60D

    oklch(74.6% 0.163 112.5)

  • #80ABFF

    #80ABFF

    oklch(74.5% 0.131 262.9)

  • #DD86E8

    #DD86E8

    oklch(74.6% 0.164 322.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB60D

    #AFB60D

    oklch(74.6% 0.163 112.5)

  • #00BBFC

    #00BBFC

    oklch(74.5% 0.153 232.6)

  • #F97DB6

    #F97DB6

    oklch(74.7% 0.163 352.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB60D

    #AFB60D

    oklch(74.6% 0.163 112.5)

  • #00C4CF

    #00C4CF

    oklch(74.7% 0.127 202)

  • #B09AFF

    #B09AFF

    oklch(74.6% 0.144 292.6)

  • #FF817F

    #FF817F

    oklch(74.6% 0.154 22.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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