#C7AE02
Closest named color: Muddy Yellow (#BFAC05). oklch(75% 0.155 98.8), rgb(199, 174, 2).
Aa
Black text reads best on this color (9.48:1).
About this color
#C7AE02 is a medium-light, vivid yellow. In OKLCH its lightness is 75%, its chroma 0.155 and its hue 99°. Its hue sits on the warm side of the wheel. The nearest named color is Muddy Yellow (#BFAC05), ΔE 0.014 away. Black text reads best on it, at 9.48:1.
| Hue family | Yellows |
| Lightness | medium-light (75%) |
| Chroma | vivid (0.155) |
| Temperature | warm |
| Nearest name | Muddy Yellow (#BFAC05) |
| Black text | 9.48:1 |
| White text | 2.21:1 |
Values
| HEX | #C7AE02 |
| RGB | rgb(199, 174, 2) |
| HSL | hsl(52, 98%, 39%) |
| OKLCH | oklch(75% 0.155 98.8) |
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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #C7AE02 | 2.21:1 | Fails | Lc -48.1 | Large or bold text, headings |
| Black text on #C7AE02 | 9.48:1 | AAA | Lc 60.6 | Content text, not long reading |
| #C7AE02 text on white | 2.21:1 | Fails | Lc 43.4 | Non-text elements, placeholder text |
| #C7AE02 text on black | 9.48:1 | AAA | Lc -58.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.
-
Step 50
50
#F7F6EC
oklch(97.1% 0.013 102)
-
Step 100
100
#EEEBD6
oklch(93.7% 0.028 100.3)
-
Step 200
200
#E2DAB2
oklch(88.5% 0.053 98)
-
Step 300
300
#D0C277
oklch(80.9% 0.097 99)
-
Step 400
400 (this color)
#C7AE02
oklch(75% 0.155 98.8)
-
Step 500
500
#9E8A00
oklch(63.2% 0.131 99)
-
Step 600
600
#857300
oklch(55.6% 0.115 98.3)
-
Step 700
700
#706100
oklch(49.2% 0.102 98.7)
-
Step 800
800
#5B4F00
oklch(42.7% 0.088 99.2)
-
Step 900
900
#4C4200
oklch(37.8% 0.078 99.5)
-
Step 950
950
#2D2600
oklch(26.8% 0.056 98.7)
#C7AE02 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #C1A900 | 0.017 |
| Deuteranopia (no green cones) | #C7B21D | 0.010 |
| Tritanopia (no blue cones) | #D8A094 | 0.142 |
| Achromatopsia (no color) | #AEAEAE | 0.155 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C7AE02
#C7AE02
oklch(75% 0.155 98.8)
- #9CA4FF
#9CA4FF
oklch(74.9% 0.131 278.9)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #C7AE02, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Muddy Yellow #BFAC05 ΔE 0.014
- Mustard #CEB301 ΔE 0.018
- Burnt Yellow #D5AB09 ΔE 0.023
- Olive Yellow #C2B709 ΔE 0.024
- Dark Yellow #D5B60A ΔE 0.031
- Goldenrod #DAA520 ΔE 0.040
- Mustard Yellow #D2BD0A ΔE 0.043
- Yellow Ochre #CB9D06 ΔE 0.044
Use #C7AE02 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.