#C3AF07

Closest named color: Muddy Yellow (#BFAC05). oklch(74.8% 0.155 101), rgb(195, 175, 7).

Aa

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

About this color

#C3AF07 is a medium-light, vivid yellow. In OKLCH its lightness is 75%, its chroma 0.155 and its hue 101°. Its hue sits on the warm side of the wheel. The nearest named color is Muddy Yellow (#BFAC05), ΔE 0.010 away. Black text reads best on it, at 9.45:1.

Hue familyYellows
Lightnessmedium-light (75%)
Chromavivid (0.155)
Temperaturewarm
Nearest nameMuddy Yellow (#BFAC05)
Black text9.45:1
White text2.22:1

Values

HEX#C3AF07
RGBrgb(195, 175, 7)
HSLhsl(54, 93%, 40%)
OKLCHoklch(74.8% 0.155 101)

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 #C3AF07 2.22:1 Fails Lc -48.3 Large or bold text, headings
Black text on #C3AF07 9.45:1 AAA Lc 60.4 Content text, not long reading
#C3AF07 text on white 2.22:1 Fails Lc 43.5 Non-text elements, placeholder text
#C3AF07 text on black 9.45:1 AAA Lc -58.6 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

    #F7F6EC

    oklch(97.1% 0.013 102)

  2. Step 100

    100

    #EDEBD6

    oklch(93.6% 0.028 102.5)

  3. Step 200

    200

    #E0DBB2

    oklch(88.5% 0.054 101.7)

  4. Step 300

    300

    #CEC378

    oklch(81% 0.097 101)

  5. Step 400

    400 (this color)

    #C3AF07

    oklch(74.8% 0.155 101)

  6. Step 500

    500

    #9B8B00

    oklch(63.1% 0.132 101.2)

  7. Step 600

    600

    #827400

    oklch(55.5% 0.116 101)

  8. Step 700

    700

    #6E6200

    oklch(49.2% 0.103 101)

  9. Step 800

    800

    #5A5000

    oklch(42.8% 0.089 101.1)

  10. Step 900

    900

    #4B4200

    oklch(37.7% 0.078 100.6)

  11. Step 950

    950

    #2C2700

    oklch(27% 0.057 102.1)

Export this scale for Tailwind in the Tailwind colors tool

#C3AF07 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)#C1AA000.013
Deuteranopia (no green cones)#C7B11F0.010
Tritanopia (no blue cones)#D3A1950.143
Achromatopsia (no color)#AEAEAE0.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #C3AF07

    #C3AF07

    oklch(74.8% 0.155 101)

  • #9FA2FF

    #9FA2FF

    oklch(74.7% 0.133 281.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C3AF07

    #C3AF07

    oklch(74.8% 0.155 101)

  • #EA9A1B

    #EA9A1B

    oklch(74.9% 0.155 70.9)

  • #8AC150

    #8AC150

    oklch(74.9% 0.155 131.1)

Open the analogous palette in the generator

Split complementary

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

  • #C3AF07

    #C3AF07

    oklch(74.8% 0.155 101)

  • #69B2FF

    #69B2FF

    oklch(74.8% 0.134 251.2)

  • #CD8FF5

    #CD8FF5

    oklch(74.9% 0.155 311.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C3AF07

    #C3AF07

    oklch(74.8% 0.155 101)

  • #00C0EA

    #00C0EA

    oklch(74.8% 0.137 221)

  • #EE83CA

    #EE83CA

    oklch(74.9% 0.155 341.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C3AF07

    #C3AF07

    oklch(74.8% 0.155 101)

  • #00C7C1

    #00C7C1

    oklch(74.9% 0.129 190.9)

  • #9FA2FF

    #9FA2FF

    oklch(74.7% 0.133 281.3)

  • #FE8095

    #FE8095

    oklch(74.8% 0.154 11)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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