#545940
Closest named color: Olive Brown (#645403). oklch(45.2% 0.039 117.2), rgb(84, 89, 64).
Aa
White text reads best on this color (7.29:1).
About this color
#545940 is a medium-dark, muted brown. In OKLCH its lightness is 45%, its chroma 0.039 and its hue 117°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Olive Brown (#645403), ΔE 0.056 away. White text reads best on it, at 7.29:1.
| Hue family | Browns |
| Lightness | medium-dark (45%) |
| Chroma | muted (0.039) |
| Temperature | in between |
| Nearest name | Olive Brown (#645403) |
| Black text | 2.87:1 |
| White text | 7.29:1 |
Values
| HEX | #545940 |
| RGB | rgb(84, 89, 64) |
| HSL | hsl(72, 16%, 30%) |
| OKLCH | oklch(45.2% 0.039 117.2) |
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 #545940 | 7.29:1 | AAA | Lc -90.2 | Preferred for body text |
| Black text on #545940 | 2.87:1 | Fails | Lc 18.7 | Dividers and decoration only |
| #545940 text on white | 7.29:1 | AAA | Lc 85.3 | Fine for body text |
| #545940 text on black | 2.87:1 | Fails | Lc -16.7 | Dividers and decoration only |
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 800.
-
Step 50
50
#F5F6F3
oklch(97.2% 0.004 121.6)
-
Step 100
100
#E9EAE5
oklch(93.5% 0.007 115.7)
-
Step 200
200
#D8DAD1
oklch(88.4% 0.012 116.8)
-
Step 300
300
#BFC3B2
oklch(80.9% 0.024 117.7)
-
Step 400
400
#9EA48A
oklch(70.7% 0.037 117.9)
-
Step 500
500
#878E6D
oklch(63.2% 0.048 117.5)
-
Step 600
600
#717855
oklch(55.7% 0.052 117.3)
-
Step 700
700
#5E6445
oklch(48.9% 0.047 117.1)
-
Step 800
800 (this color)
#545940
oklch(45.2% 0.039 117.2)
-
Step 900
900
#404431
oklch(37.7% 0.031 117.6)
-
Step 950
950
#26281D
oklch(27.1% 0.02 116.1)
#545940 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) | #5C563E | 0.014 |
| Deuteranopia (no green cones) | #5C5741 | 0.014 |
| Tritanopia (no blue cones) | #575652 | 0.033 |
| Achromatopsia (no color) | #565656 | 0.039 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #545940
#545940
oklch(45.2% 0.039 117.2)
- #585269
#585269
oklch(45.3% 0.038 296.8)
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 #545940, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Olive Brown #645403 ΔE 0.056
- Army Green #4B5D16 ΔE 0.058
- Camo Green #526525 ΔE 0.058
- Pine #2B5D34 ΔE 0.060
- Green Brown #544E03 ΔE 0.061
- Dark Green Blue #1F6357 ΔE 0.062
- Mud Brown #60460F ΔE 0.065
- Camouflage Green #4B6113 ΔE 0.066
Use #545940 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.