#C2A71E
Closest named color: Muddy Yellow (#BFAC05). oklch(73.1% 0.144 96.7), rgb(194, 167, 30).
Aa
Black text reads best on this color (8.84:1).
About this color
#C2A71E is a medium-light, vivid yellow. In OKLCH its lightness is 73%, its chroma 0.144 and its hue 97°. Its hue sits on the warm side of the wheel. The nearest named color is Muddy Yellow (#BFAC05), ΔE 0.017 away. Black text reads best on it, at 8.84:1.
| Hue family | Yellows |
| Lightness | medium-light (73%) |
| Chroma | vivid (0.144) |
| Temperature | warm |
| Nearest name | Muddy Yellow (#BFAC05) |
| Black text | 8.84:1 |
| White text | 2.37:1 |
Values
| HEX | #C2A71E |
| RGB | rgb(194, 167, 30) |
| HSL | hsl(50, 73%, 44%) |
| OKLCH | oklch(73.1% 0.144 96.7) |
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 #C2A71E | 2.37:1 | Fails | Lc -51.6 | Large or bold text, headings |
| Black text on #C2A71E | 8.84:1 | AAA | Lc 57.3 | Large or bold text, headings |
| #C2A71E text on white | 2.37:1 | Fails | Lc 46.6 | Large or bold text, headings |
| #C2A71E text on black | 8.84:1 | AAA | Lc -55.4 | 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
#F8F6ED
oklch(97.2% 0.012 96.4)
-
Step 100
100
#EEEAD7
oklch(93.5% 0.026 97.1)
-
Step 200
200
#E2DAB5
oklch(88.5% 0.05 97.2)
-
Step 300
300
#D1C17D
oklch(80.9% 0.089 96.5)
-
Step 400
400 (this color)
#C2A71E
oklch(73.1% 0.144 96.7)
-
Step 500
500
#A08800
oklch(63% 0.13 96.6)
-
Step 600
600
#877200
oklch(55.5% 0.114 96.2)
-
Step 700
700
#716000
oklch(49.1% 0.101 97)
-
Step 800
800
#5D4E00
oklch(42.6% 0.088 96.3)
-
Step 900
900
#4D4100
oklch(37.6% 0.078 97.3)
-
Step 950
950
#2E2600
oklch(27% 0.056 97.1)
#C2A71E 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) | #B9A300 | 0.020 |
| Deuteranopia (no green cones) | #C0AC2A | 0.012 |
| Tritanopia (no blue cones) | #D2998F | 0.133 |
| Achromatopsia (no color) | #A8A8A8 | 0.144 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C2A71E
#C2A71E
oklch(73.1% 0.144 96.7)
- #929EFF
#929EFF
oklch(73% 0.141 277)
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 #C2A71E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Muddy Yellow #BFAC05 ΔE 0.017
- Yellow Ochre #CB9D06 ΔE 0.027
- Ocre #C69C04 ΔE 0.027
- Ocher #BF9B0C ΔE 0.031
- Burnt Yellow #D5AB09 ΔE 0.032
- Goldenrod #DAA520 ΔE 0.038
- Mustard #CEB301 ΔE 0.039
- Olive Yellow #C2B709 ΔE 0.044
Use #C2A71E 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.