#AC8E02
Closest named color: Yellowy Brown (#AE8B0C). oklch(65.5% 0.134 93.8), rgb(172, 142, 2).
Aa
Black text reads best on this color (6.62:1).
About this color
#AC8E02 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 66%, its chroma 0.134 and its hue 94°. Its hue sits on the warm side of the wheel. The nearest named color is Yellowy Brown (#AE8B0C), ΔE 0.009 away. Black text reads best on it, at 6.62:1.
| Hue family | Yellows |
| Lightness | medium-light (66%) |
| Chroma | moderately saturated (0.134) |
| Temperature | warm |
| Nearest name | Yellowy Brown (#AE8B0C) |
| Black text | 6.62:1 |
| White text | 3.17:1 |
Values
| HEX | #AC8E02 |
| RGB | rgb(172, 142, 2) |
| HSL | hsl(49, 98%, 34%) |
| OKLCH | oklch(65.5% 0.134 93.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 #AC8E02 | 3.17:1 | AA large text | Lc -64.0 | Content text, not long reading |
| Black text on #AC8E02 | 6.62:1 | AA | Lc 45.4 | Large or bold text, headings |
| #AC8E02 text on white | 3.17:1 | AA large text | Lc 58.6 | Large or bold text, headings |
| #AC8E02 text on black | 6.62:1 | AA | Lc -43.1 | 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
#E1D9BF
oklch(88.5% 0.036 92.8)
-
Step 300
300
#CEC091
oklch(80.8% 0.064 93.5)
-
Step 400
400
#B69F4E
oklch(70.6% 0.105 93.7)
-
Step 500
500 (this color)
#AC8E02
oklch(65.5% 0.134 93.8)
-
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
#2F2500
oklch(26.8% 0.055 93.5)
#AC8E02 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) | #9F8B00 | 0.023 |
| Deuteranopia (no green cones) | #A79415 | 0.016 |
| Tritanopia (no blue cones) | #BB8178 | 0.122 |
| Achromatopsia (no color) | #919191 | 0.134 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AC8E02
#AC8E02
oklch(65.5% 0.134 93.8)
- #7889E2
#7889E2
oklch(65.6% 0.134 274)
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 #AC8E02, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Yellowy Brown #AE8B0C ΔE 0.009
- Dark Mustard #A88905 ΔE 0.015
- Dark Gold #B59410 ΔE 0.023
- Yellow Brown #B79400 ΔE 0.025
- Brown Yellow #B29705 ΔE 0.026
- Dark Goldenrod #B8860B ΔE 0.029
- Ochre #BF9005 ΔE 0.032
- Mustard Brown #AC7E04 ΔE 0.042
Use #AC8E02 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.