#545F40
Closest named color: Camo Green (#526525). oklch(46.7% 0.05 124.2), rgb(84, 95, 64).
Aa
White text reads best on this color (6.80:1).
About this color
#545F40 is a medium-dark, muted brown. In OKLCH its lightness is 47%, its chroma 0.050 and its hue 124°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Camo Green (#526525), ΔE 0.044 away. White text reads best on it, at 6.80:1.
| Hue family | Browns |
| Lightness | medium-dark (47%) |
| Chroma | muted (0.050) |
| Temperature | in between |
| Nearest name | Camo Green (#526525) |
| Black text | 3.08:1 |
| White text | 6.80:1 |
Values
| HEX | #545F40 |
| RGB | rgb(84, 95, 64) |
| HSL | hsl(81, 19%, 31%) |
| OKLCH | oklch(46.7% 0.05 124.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 #545F40 | 6.80:1 | AA | Lc -88.5 | Fine for body text |
| Black text on #545F40 | 3.08:1 | AA large text | Lc 20.6 | Dividers and decoration only |
| #545F40 text on white | 6.80:1 | AA | Lc 83.5 | Fine for body text |
| #545F40 text on black | 3.08:1 | AA large text | Lc -18.5 | 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 700.
-
Step 50
50
#F5F6F3
oklch(97.2% 0.004 121.6)
-
Step 100
100
#E9EBE6
oklch(93.7% 0.007 124.5)
-
Step 200
200
#D7DBD1
oklch(88.6% 0.014 124.6)
-
Step 300
300
#BDC3B3
oklch(80.8% 0.023 123.7)
-
Step 400
400
#9BA58B
oklch(70.7% 0.039 124.5)
-
Step 500
500
#838F6E
oklch(63.1% 0.05 124)
-
Step 600
600
#6D7956
oklch(55.6% 0.054 123.5)
-
Step 700
700 (this color)
#545F40
oklch(46.7% 0.05 124.2)
-
Step 800
800
#4A533A
oklch(42.7% 0.041 124.2)
-
Step 900
900
#3E4532
oklch(37.8% 0.032 124.4)
-
Step 950
950
#24281D
oklch(26.9% 0.02 124)
#545F40 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) | #625B3E | 0.023 |
| Deuteranopia (no green cones) | #615B41 | 0.023 |
| Tritanopia (no blue cones) | #565C57 | 0.040 |
| Achromatopsia (no color) | #5B5B5B | 0.050 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #545F40
#545F40
oklch(46.7% 0.05 124.2)
- #605371
#605371
oklch(46.7% 0.05 304.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 #545F40, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Camo Green #526525 ΔE 0.044
- Dark Olive Green #556B2F ΔE 0.049
- Dark Moss Green #606C38 ΔE 0.049
- Army Green #4B5D16 ΔE 0.051
- Camouflage Green #4B6113 ΔE 0.055
- Olive Brown #645403 ΔE 0.056
- Pine #2B5D34 ΔE 0.057
- Greeny Brown #696006 ΔE 0.058
Use #545F40 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.