#C6A41F

Closest named color: Yellow Ochre (#CB9D06). oklch(72.9% 0.142 93), rgb(198, 164, 31).

Aa

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

About this color

#C6A41F is a medium-light, vivid yellow. In OKLCH its lightness is 73%, its chroma 0.142 and its hue 93°. Its hue sits on the warm side of the wheel. The nearest named color is Yellow Ochre (#CB9D06), ΔE 0.018 away. Black text reads best on it, at 8.73:1.

Hue familyYellows
Lightnessmedium-light (73%)
Chromavivid (0.142)
Temperaturewarm
Nearest nameYellow Ochre (#CB9D06)
Black text8.73:1
White text2.40:1

Values

HEX#C6A41F
RGBrgb(198, 164, 31)
HSLhsl(48, 73%, 45%)
OKLCHoklch(72.9% 0.142 93)

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 #C6A41F 2.40:1 Fails Lc -52.2 Large or bold text, headings
Black text on #C6A41F 8.73:1 AAA Lc 56.8 Large or bold text, headings
#C6A41F text on white 2.40:1 Fails Lc 47.2 Large or bold text, headings
#C6A41F text on black 8.73:1 AAA Lc -54.8 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

    #F8F5ED

    oklch(97% 0.011 89.7)

  2. Step 100

    100

    #F0EAD7

    oklch(93.7% 0.026 92.4)

  3. Step 200

    200

    #E4D9B5

    oklch(88.5% 0.049 93)

  4. Step 300

    300

    #D4C07D

    oklch(80.9% 0.089 93.4)

  5. Step 400

    400 (this color)

    #C6A41F

    oklch(72.9% 0.142 93)

  6. Step 500

    500

    #A48600

    oklch(63% 0.129 93)

  7. Step 600

    600

    #8A7100

    oklch(55.6% 0.114 93.5)

  8. Step 700

    700

    #745E00

    oklch(49% 0.1 92.9)

  9. Step 800

    800

    #604D00

    oklch(42.7% 0.087 92.5)

  10. Step 900

    900

    #504000

    oklch(37.8% 0.077 92.8)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#C6A41F 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)#B7A1000.028
Deuteranopia (no green cones)#BFAB290.019
Tritanopia (no blue cones)#D7968C0.129
Achromatopsia (no color)#A7A7A70.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #C6A41F

    #C6A41F

    oklch(72.9% 0.142 93)

  • #8BA0FF

    #8BA0FF

    oklch(73% 0.14 273)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C6A41F

    #C6A41F

    oklch(72.9% 0.142 93)

  • #E59139

    #E59139

    oklch(72.8% 0.142 63)

  • #97B546

    #97B546

    oklch(72.8% 0.142 122.8)

Open the analogous palette in the generator

Split complementary

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

  • #C6A41F

    #C6A41F

    oklch(72.9% 0.142 93)

  • #49B0F9

    #49B0F9

    oklch(72.9% 0.142 243.2)

  • #B990F0

    #B990F0

    oklch(72.9% 0.141 302.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C6A41F

    #C6A41F

    oklch(72.9% 0.142 93)

  • #00BBD7

    #00BBD7

    oklch(72.8% 0.128 213.4)

  • #DB84CD

    #DB84CD

    oklch(72.9% 0.141 333)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C6A41F

    #C6A41F

    oklch(72.9% 0.142 93)

  • #00C1AF

    #00C1AF

    oklch(72.8% 0.13 183.2)

  • #8BA0FF

    #8BA0FF

    oklch(73% 0.14 273)

  • #EF7E9F

    #EF7E9F

    oklch(72.8% 0.142 2.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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