#AF9237
Closest named color: Dark Gold (#B59410). oklch(66.9% 0.114 91.1), rgb(175, 146, 55).
Aa
Black text reads best on this color (6.98:1).
About this color
#AF9237 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 67%, its chroma 0.114 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Gold (#B59410), ΔE 0.023 away. Black text reads best on it, at 6.98:1.
| Hue family | Yellows |
| Lightness | medium-light (67%) |
| Chroma | moderately saturated (0.114) |
| Temperature | warm |
| Nearest name | Dark Gold (#B59410) |
| Black text | 6.98:1 |
| White text | 3.00:1 |
Values
| HEX | #AF9237 |
| RGB | rgb(175, 146, 55) |
| HSL | hsl(45, 52%, 45%) |
| OKLCH | oklch(66.9% 0.114 91.1) |
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 #AF9237 | 3.00:1 | AA large text | Lc -62.0 | Content text, not long reading |
| Black text on #AF9237 | 6.98:1 | AA | Lc 47.4 | Large or bold text, headings |
| #AF9237 text on white | 3.00:1 | AA large text | Lc 56.6 | Large or bold text, headings |
| #AF9237 text on black | 6.98:1 | AA | Lc -45.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
#F8F5EE
oklch(97.1% 0.01 87.5)
-
Step 100
100
#EFEADB
oklch(93.7% 0.021 91.6)
-
Step 200
200
#E3D9BC
oklch(88.6% 0.04 91.2)
-
Step 300
300
#D2C08C
oklch(81% 0.071 91.2)
-
Step 400
400 (this color)
#AF9237
oklch(66.9% 0.114 91.1)
-
Step 500
500
#A68500
oklch(63% 0.129 91.2)
-
Step 600
600
#8C7000
oklch(55.6% 0.114 91.4)
-
Step 700
700
#765E00
oklch(49.2% 0.101 91.4)
-
Step 800
800
#614C00
oklch(42.6% 0.087 90.4)
-
Step 900
900
#513F00
oklch(37.6% 0.077 90.4)
-
Step 950
950
#302500
oklch(26.9% 0.055 91.9)
#AF9237 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) | #A2902C | 0.024 |
| Deuteranopia (no green cones) | #A9983B | 0.017 |
| Tritanopia (no blue cones) | #BD867F | 0.104 |
| Achromatopsia (no color) | #959595 | 0.114 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF9237
#AF9237
oklch(66.9% 0.114 91.1)
- #7B90DB
#7B90DB
oklch(66.8% 0.114 271.2)
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 #AF9237, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Gold #B59410 ΔE 0.023
- Yellowy Brown #AE8B0C ΔE 0.025
- Yellow Brown #B79400 ΔE 0.027
- Brown Yellow #B29705 ΔE 0.030
- Ochre #BF9005 ΔE 0.030
- Dark Goldenrod #B8860B ΔE 0.033
- Dark Mustard #A88905 ΔE 0.033
- Dark Tan #AF884A ΔE 0.037
Use #AF9237 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.