#40540F
Closest named color: Navy Green (#35530A). oklch(41.5% 0.095 124.9), rgb(64, 84, 15).
Aa
White text reads best on this color (8.42:1).
About this color
#40540F is a dark, moderately saturated brown. In OKLCH its lightness is 41%, its chroma 0.095 and its hue 125°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Navy Green (#35530A), ΔE 0.017 away. White text reads best on it, at 8.42:1.
| Hue family | Browns |
| Lightness | dark (41%) |
| Chroma | moderately saturated (0.095) |
| Temperature | in between |
| Nearest name | Navy Green (#35530A) |
| Black text | 2.49:1 |
| White text | 8.42:1 |
Values
| HEX | #40540F |
| RGB | rgb(64, 84, 15) |
| HSL | hsl(77, 70%, 19%) |
| OKLCH | oklch(41.5% 0.095 124.9) |
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 #40540F | 8.42:1 | AAA | Lc -93.5 | Preferred for body text |
| Black text on #40540F | 2.49:1 | Fails | Lc 15.1 | Dividers and decoration only |
| #40540F text on white | 8.42:1 | AAA | Lc 88.9 | Fine for body text |
| #40540F text on black | 2.49:1 | Fails | Lc -13.3 | Not readable |
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
#F4F6F1
oklch(97% 0.007 124.4)
-
Step 100
100
#E7ECE0
oklch(93.6% 0.017 125.3)
-
Step 200
200
#D4DDC7
oklch(88.5% 0.031 125.2)
-
Step 300
300
#B8C7A1
oklch(80.8% 0.054 125.1)
-
Step 400
400
#94AB6D
oklch(70.8% 0.089 125.2)
-
Step 500
500
#7A9544
oklch(63.1% 0.113 124.8)
-
Step 600
600
#637F21
oklch(55.6% 0.123 124.9)
-
Step 700
700
#526B12
oklch(49% 0.115 124.8)
-
Step 800
800 (this color)
#40540F
oklch(41.5% 0.095 124.9)
-
Step 900
900
#394818
oklch(37.7% 0.074 124.5)
-
Step 950
950
#212A0F
oklch(26.9% 0.047 124.7)
#40540F 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) | #594E02 | 0.041 |
| Deuteranopia (no green cones) | #564D16 | 0.042 |
| Tritanopia (no blue cones) | #435047 | 0.076 |
| Achromatopsia (no color) | #4D4D4D | 0.095 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40540F
#40540F
oklch(41.5% 0.095 124.9)
- #583D75
#583D75
oklch(41.6% 0.095 304.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 #40540F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Navy Green #35530A ΔE 0.017
- Green Brown #544E03 ΔE 0.033
- Army Green #4B5D16 ΔE 0.034
- Pine #2B5D34 ΔE 0.041
- Camouflage Green #4B6113 ΔE 0.045
- Forest #0B5509 ΔE 0.051
- Deep Green #02590F ΔE 0.052
- Spruce #0A5F38 ΔE 0.055
Use #40540F 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.