#AB8A21
Closest named color: Yellowy Brown (#AE8B0C). oklch(64.7% 0.122 90), rgb(171, 138, 33).
Aa
Black text reads best on this color (6.38:1).
About this color
#AB8A21 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 65%, its chroma 0.122 and its hue 90°. Its hue sits on the warm side of the wheel. The nearest named color is Yellowy Brown (#AE8B0C), ΔE 0.010 away. Black text reads best on it, at 6.38:1.
| Hue family | Yellows |
| Lightness | medium-light (65%) |
| Chroma | moderately saturated (0.122) |
| Temperature | warm |
| Nearest name | Yellowy Brown (#AE8B0C) |
| Black text | 6.38:1 |
| White text | 3.28:1 |
Values
| HEX | #AB8A21 |
| RGB | rgb(171, 138, 33) |
| HSL | hsl(46, 68%, 40%) |
| OKLCH | oklch(64.7% 0.122 90) |
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 #AB8A21 | 3.28:1 | AA large text | Lc -65.5 | Content text, not long reading |
| Black text on #AB8A21 | 6.38:1 | AA | Lc 44.0 | Non-text elements, placeholder text |
| #AB8A21 text on white | 3.28:1 | AA large text | Lc 60.1 | Content text, not long reading |
| #AB8A21 text on black | 6.38:1 | AA | Lc -41.7 | 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
#F7F5F0
oklch(97% 0.007 88.6)
-
Step 100
100
#EEEADD
oklch(93.7% 0.018 92.7)
-
Step 200
200
#E1D9C1
oklch(88.5% 0.033 91.7)
-
Step 300
300
#CFC095
oklch(81% 0.06 91.1)
-
Step 400
400
#B89E57
oklch(70.7% 0.096 89.8)
-
Step 500
500 (this color)
#AB8A21
oklch(64.7% 0.122 90)
-
Step 600
600
#8D6F00
oklch(55.5% 0.113 89.9)
-
Step 700
700
#775D00
oklch(49.1% 0.1 89.6)
-
Step 800
800
#624C00
oklch(42.8% 0.087 89.5)
-
Step 900
900
#513F00
oklch(37.6% 0.077 90.4)
-
Step 950
950
#302504
oklch(27% 0.051 90)
#AB8A21 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) | #9B8807 | 0.030 |
| Deuteranopia (no green cones) | #A39228 | 0.023 |
| Tritanopia (no blue cones) | #BA7E76 | 0.110 |
| Achromatopsia (no color) | #8E8E8E | 0.122 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB8A21
#AB8A21
oklch(64.7% 0.122 90)
- #7189D8
#7189D8
oklch(64.6% 0.122 269.9)
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 #AB8A21, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Yellowy Brown #AE8B0C ΔE 0.010
- Dark Mustard #A88905 ΔE 0.012
- Dark Goldenrod #B8860B ΔE 0.022
- Mustard Brown #AC7E04 ΔE 0.030
- Dark Gold #B59410 ΔE 0.034
- Yellow Brown #B79400 ΔE 0.037
- Dark Tan #AF884A ΔE 0.037
- Ochre #BF9005 ΔE 0.039
Use #AB8A21 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.