#AB8902
Closest named color: Dark Mustard (#A88905). oklch(64.4% 0.131 91), rgb(171, 137, 2).
Aa
Black text reads best on this color (6.31:1).
About this color
#AB8902 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 64%, its chroma 0.131 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Mustard (#A88905), ΔE 0.005 away. Black text reads best on it, at 6.31:1.
| Hue family | Yellows |
| Lightness | medium-light (64%) |
| Chroma | moderately saturated (0.131) |
| Temperature | warm |
| Nearest name | Dark Mustard (#A88905) |
| Black text | 6.31:1 |
| White text | 3.32:1 |
Values
| HEX | #AB8902 |
| RGB | rgb(171, 137, 2) |
| HSL | hsl(48, 98%, 34%) |
| OKLCH | oklch(64.4% 0.131 91) |
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 #AB8902 | 3.32:1 | AA large text | Lc -65.9 | Content text, not long reading |
| Black text on #AB8902 | 6.31:1 | AA | Lc 43.6 | Non-text elements, placeholder text |
| #AB8902 text on white | 3.32:1 | AA large text | Lc 60.5 | Content text, not long reading |
| #AB8902 text on black | 6.31:1 | AA | Lc -41.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
#E2D9BF
oklch(88.6% 0.036 91.1)
-
Step 300
300
#D0C091
oklch(81% 0.065 91.5)
-
Step 400
400
#B89E50
oklch(70.6% 0.103 91.2)
-
Step 500
500 (this color)
#AB8902
oklch(64.4% 0.131 91)
-
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
#302501
oklch(27% 0.054 91.4)
#AB8902 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) | #9A8700 | 0.029 |
| Deuteranopia (no green cones) | #A39113 | 0.023 |
| Tritanopia (no blue cones) | #BA7C74 | 0.119 |
| Achromatopsia (no color) | #8D8D8D | 0.131 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB8902
#AB8902
oklch(64.4% 0.131 91)
- #7087DD
#7087DD
oklch(64.4% 0.132 271)
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 #AB8902, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Mustard #A88905 ΔE 0.005
- Yellowy Brown #AE8B0C ΔE 0.008
- Dark Goldenrod #B8860B ΔE 0.023
- Mustard Brown #AC7E04 ΔE 0.029
- Dark Gold #B59410 ΔE 0.034
- Yellow Brown #B79400 ΔE 0.037
- Ochre #BF9005 ΔE 0.039
- Brown Yellow #B29705 ΔE 0.040
Use #AB8902 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.