#AF9002
Closest named color: Yellowy Brown (#AE8B0C). oklch(66.3% 0.135 93.5), rgb(175, 144, 2).
Aa
Black text reads best on this color (6.81:1).
About this color
#AF9002 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 66%, its chroma 0.135 and its hue 93°. Its hue sits on the warm side of the wheel. The nearest named color is Yellowy Brown (#AE8B0C), ΔE 0.014 away. Black text reads best on it, at 6.81:1.
| Hue family | Yellows |
| Lightness | medium-light (66%) |
| Chroma | moderately saturated (0.135) |
| Temperature | warm |
| Nearest name | Yellowy Brown (#AE8B0C) |
| Black text | 6.81:1 |
| White text | 3.08:1 |
Values
| HEX | #AF9002 |
| RGB | rgb(175, 144, 2) |
| HSL | hsl(49, 98%, 35%) |
| OKLCH | oklch(66.3% 0.135 93.5) |
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 #AF9002 | 3.08:1 | AA large text | Lc -62.9 | Content text, not long reading |
| Black text on #AF9002 | 6.81:1 | AA | Lc 46.5 | Large or bold text, headings |
| #AF9002 text on white | 3.08:1 | AA large text | Lc 57.5 | Large or bold text, headings |
| #AF9002 text on black | 6.81:1 | AA | Lc -44.2 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#F7F5EF
oklch(97% 0.008 91.5)
-
Step 100
100
#EEEADC
oklch(93.6% 0.019 93.7)
-
Step 200
200
#E1D9BE
oklch(88.5% 0.037 93.4)
-
Step 300
300
#CFC090
oklch(80.9% 0.066 92.8)
-
Step 400
400
#B79F4D
oklch(70.7% 0.106 93.2)
-
Step 500
500 (this color)
#AF9002
oklch(66.3% 0.135 93.5)
-
Step 600
600
#8A7100
oklch(55.6% 0.114 93.5)
-
Step 700
700
#745F00
oklch(49.2% 0.101 93.8)
-
Step 800
800
#5F4D00
oklch(42.6% 0.087 93.4)
-
Step 900
900
#4F4000
oklch(37.6% 0.077 93.9)
-
Step 950
950
#302500
oklch(26.9% 0.055 91.9)
#AF9002 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) | #A18E00 | 0.024 |
| Deuteranopia (no green cones) | #A99715 | 0.019 |
| Tritanopia (no blue cones) | #BE837A | 0.124 |
| Achromatopsia (no color) | #939393 | 0.135 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF9002
#AF9002
oklch(66.3% 0.135 93.5)
- #798BE5
#798BE5
oklch(66.2% 0.135 273.6)
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 #AF9002, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Yellowy Brown #AE8B0C ΔE 0.014
- Dark Gold #B59410 ΔE 0.015
- Yellow Brown #B79400 ΔE 0.017
- Brown Yellow #B29705 ΔE 0.019
- Dark Mustard #A88905 ΔE 0.023
- Ochre #BF9005 ΔE 0.027
- Dark Goldenrod #B8860B ΔE 0.030
- Ocher #BF9B0C ΔE 0.040
Use #AF9002 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.