#AF9D2D
Closest named color: Brown Yellow (#B29705). oklch(69.2% 0.128 99.8), rgb(175, 157, 45).
Aa
Black text reads best on this color (7.68:1).
About this color
#AF9D2D is a medium-light, moderately saturated yellow. In OKLCH its lightness is 69%, its chroma 0.128 and its hue 100°. Its hue sits on the warm side of the wheel. The nearest named color is Brown Yellow (#B29705), ΔE 0.018 away. Black text reads best on it, at 7.68:1.
| Hue family | Yellows |
| Lightness | medium-light (69%) |
| Chroma | moderately saturated (0.128) |
| Temperature | warm |
| Nearest name | Brown Yellow (#B29705) |
| Black text | 7.68:1 |
| White text | 2.73:1 |
Values
| HEX | #AF9D2D |
| RGB | rgb(175, 157, 45) |
| HSL | hsl(52, 59%, 43%) |
| OKLCH | oklch(69.2% 0.128 99.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 #AF9D2D | 2.73:1 | Fails | Lc -58.0 | Large or bold text, headings |
| Black text on #AF9D2D | 7.68:1 | AAA | Lc 51.3 | Large or bold text, headings |
| #AF9D2D text on white | 2.73:1 | Fails | Lc 52.8 | Large or bold text, headings |
| #AF9D2D text on black | 7.68:1 | AAA | Lc -49.1 | 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
#F7F6EE
oklch(97.2% 0.011 100.8)
-
Step 100
100
#EDEBD9
oklch(93.7% 0.024 101.7)
-
Step 200
200
#E0DAB9
oklch(88.5% 0.044 98.7)
-
Step 300
300
#CCC286
oklch(80.8% 0.079 99.9)
-
Step 400
400 (this color)
#AF9D2D
oklch(69.2% 0.128 99.8)
-
Step 500
500
#9D8A00
oklch(63.1% 0.131 99.5)
-
Step 600
600
#847400
oklch(55.7% 0.116 99.7)
-
Step 700
700
#6F6100
oklch(49.1% 0.102 99.4)
-
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
#2D2700
oklch(27.1% 0.056 100.5)
#AF9D2D 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) | #AC9919 | 0.014 |
| Deuteranopia (no green cones) | #B19F34 | 0.007 |
| Tritanopia (no blue cones) | #BD9187 | 0.118 |
| Achromatopsia (no color) | #9C9C9C | 0.128 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF9D2D
#AF9D2D
oklch(69.2% 0.128 99.8)
- #8D92EA
#8D92EA
oklch(69.3% 0.129 280)
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 #AF9D2D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Brown Yellow #B29705 ΔE 0.018
- Dark Gold #B59410 ΔE 0.023
- Yellow Brown #B79400 ΔE 0.025
- Ocher #BF9B0C ΔE 0.025
- Ocre #C69C04 ΔE 0.036
- Ochre #BF9005 ΔE 0.038
- Yellow Ochre #CB9D06 ΔE 0.044
- Yellowy Brown #AE8B0C ΔE 0.046
Use #AF9D2D 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.