#C6AA27

Closest named color: Muddy Yellow (#BFAC05). oklch(74.1% 0.142 96.1), rgb(198, 170, 39).

Aa

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

About this color

#C6AA27 is a medium-light, vivid yellow. In OKLCH its lightness is 74%, its chroma 0.142 and its hue 96°. Its hue sits on the warm side of the wheel. The nearest named color is Muddy Yellow (#BFAC05), ΔE 0.018 away. Black text reads best on it, at 9.18:1.

Hue familyYellows
Lightnessmedium-light (74%)
Chromavivid (0.142)
Temperaturewarm
Nearest nameMuddy Yellow (#BFAC05)
Black text9.18:1
White text2.28:1

Values

HEX#C6AA27
RGBrgb(198, 170, 39)
HSLhsl(49, 67%, 46%)
OKLCHoklch(74.1% 0.142 96.1)

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 #C6AA27 2.28:1 Fails Lc -49.8 Large or bold text, headings
Black text on #C6AA27 9.18:1 AAA Lc 59.0 Large or bold text, headings
#C6AA27 text on white 2.28:1 Fails Lc 44.9 Non-text elements, placeholder text
#C6AA27 text on black 9.18:1 AAA Lc -57.2 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

    #F8F6ED

    oklch(97.2% 0.012 96.4)

  2. Step 100

    100

    #EFEAD7

    oklch(93.6% 0.026 94.7)

  3. Step 200

    200

    #E2DAB5

    oklch(88.5% 0.05 97.2)

  4. Step 300

    300

    #D1C17D

    oklch(80.9% 0.089 96.5)

  5. Step 400

    400 (this color)

    #C6AA27

    oklch(74.1% 0.142 96.1)

  6. Step 500

    500

    #A18800

    oklch(63.1% 0.13 96)

  7. Step 600

    600

    #877200

    oklch(55.5% 0.114 96.2)

  8. Step 700

    700

    #726000

    oklch(49.2% 0.101 96.3)

  9. Step 800

    800

    #5D4E00

    oklch(42.6% 0.088 96.3)

  10. Step 900

    900

    #4E4100

    oklch(37.8% 0.078 96.2)

  11. Step 950

    950

    #2F2600

    oklch(27.1% 0.056 95.5)

Export this scale for Tailwind in the Tailwind colors tool

#C6AA27 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)#BCA6000.023
Deuteranopia (no green cones)#C3AF310.013
Tritanopia (no blue cones)#D69C920.131
Achromatopsia (no color)#ABABAB0.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #C6AA27

    #C6AA27

    oklch(74.1% 0.142 96.1)

  • #95A3FF

    #95A3FF

    oklch(74.2% 0.134 276.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C6AA27

    #C6AA27

    oklch(74.1% 0.142 96.1)

  • #E79739

    #E79739

    oklch(74.1% 0.142 66.1)

  • #95BB50

    #95BB50

    oklch(74.2% 0.142 126)

Open the analogous palette in the generator

Split complementary

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

  • #C6AA27

    #C6AA27

    oklch(74.1% 0.142 96.1)

  • #55B3FF

    #55B3FF

    oklch(74.2% 0.142 245.8)

  • #C292F2

    #C292F2

    oklch(74.2% 0.143 306.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C6AA27

    #C6AA27

    oklch(74.1% 0.142 96.1)

  • #00BFE0

    #00BFE0

    oklch(74.1% 0.132 216.1)

  • #E287CD

    #E287CD

    oklch(74.2% 0.141 336)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C6AA27

    #C6AA27

    oklch(74.1% 0.142 96.1)

  • #00C5B8

    #00C5B8

    oklch(74.1% 0.13 186.5)

  • #95A3FF

    #95A3FF

    oklch(74.2% 0.134 276.1)

  • #F5829D

    #F5829D

    oklch(74.1% 0.142 6.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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