#8A8B45
Closest named color: Camo (#7F8F4E). oklch(62% 0.093 109.6), rgb(138, 139, 69).
Aa
Black text reads best on this color (5.85:1).
About this color
#8A8B45 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 62%, its chroma 0.093 and its hue 110°. Its hue sits on the warm side of the wheel. The nearest named color is Camo (#7F8F4E), ΔE 0.018 away. Black text reads best on it, at 5.85:1.
| Hue family | Yellows |
| Lightness | medium-light (62%) |
| Chroma | moderately saturated (0.093) |
| Temperature | warm |
| Nearest name | Camo (#7F8F4E) |
| Black text | 5.85:1 |
| White text | 3.58:1 |
Values
| HEX | #8A8B45 |
| RGB | rgb(138, 139, 69) |
| HSL | hsl(61, 34%, 41%) |
| OKLCH | oklch(62% 0.093 109.6) |
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 #8A8B45 | 3.58:1 | AA large text | Lc -68.9 | Content text, not long reading |
| Black text on #8A8B45 | 5.85:1 | AA | Lc 40.7 | Non-text elements, placeholder text |
| #8A8B45 text on white | 3.58:1 | AA large text | Lc 63.4 | Content text, not long reading |
| #8A8B45 text on black | 5.85:1 | AA | Lc -38.3 | 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
#F5F6F1
oklch(97.1% 0.007 115.7)
-
Step 100
100
#EAEBE1
oklch(93.7% 0.013 111.3)
-
Step 200
200
#DADBC8
oklch(88.5% 0.026 109.4)
-
Step 300
300
#C2C4A2
oklch(81% 0.046 110.2)
-
Step 400
400
#A3A56F
oklch(70.7% 0.073 109.9)
-
Step 500
500 (this color)
#8A8B45
oklch(62% 0.093 109.6)
-
Step 600
600
#787828
oklch(55.6% 0.101 109.3)
-
Step 700
700
#65651B
oklch(49.2% 0.094 109.4)
-
Step 800
800
#525219
oklch(42.6% 0.077 109.3)
-
Step 900
900
#44441B
oklch(37.7% 0.06 109)
-
Step 950
950
#282811
oklch(27% 0.038 108.7)
#8A8B45 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) | #94863F | 0.018 |
| Deuteranopia (no green cones) | #958849 | 0.020 |
| Tritanopia (no blue cones) | #92847B | 0.082 |
| Achromatopsia (no color) | #878787 | 0.093 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A8B45
#8A8B45
oklch(62% 0.093 109.6)
- #857DBB
#857DBB
oklch(62.1% 0.093 289.3)
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 #8A8B45, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Camo #7F8F4E ΔE 0.018
- Drab #828344 ΔE 0.027
- Drab Green #749551 ΔE 0.037
- Khaki Green #728639 ΔE 0.042
- Moss #769958 ΔE 0.043
- Green Grey #77926F ΔE 0.051
- Olive #808000 ΔE 0.052
- Dark Mustard #A88905 ΔE 0.053
Use #8A8B45 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.