#404127
Closest named color: Dark Olive (#373E02). oklch(36.7% 0.041 110.2), rgb(64, 65, 39).
Aa
White text reads best on this color (10.48:1).
About this color
#404127 is a dark, muted brown. In OKLCH its lightness is 37%, its chroma 0.041 and its hue 110°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive (#373E02), ΔE 0.043 away. White text reads best on it, at 10.48:1.
| Hue family | Browns |
| Lightness | dark (37%) |
| Chroma | muted (0.041) |
| Temperature | in between |
| Nearest name | Dark Olive (#373E02) |
| Black text | 2.00:1 |
| White text | 10.48:1 |
Values
| HEX | #404127 |
| RGB | rgb(64, 65, 39) |
| HSL | hsl(62, 25%, 20%) |
| OKLCH | oklch(36.7% 0.041 110.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 #404127 | 10.48:1 | AAA | Lc -98.3 | Preferred for body text |
| Black text on #404127 | 2.00:1 | Fails | Lc 9.6 | Not readable |
| #404127 text on white | 10.48:1 | AAA | Lc 94.3 | Preferred for body text |
| #404127 text on black | 2.00:1 | Fails | Lc -8.2 | 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 900.
-
Step 50
50
#F5F6F3
oklch(97.2% 0.004 121.6)
-
Step 100
100
#EAEAE4
oklch(93.5% 0.008 106.6)
-
Step 200
200
#D9DACE
oklch(88.4% 0.016 110.6)
-
Step 300
300
#C1C3AC
oklch(80.9% 0.032 111.1)
-
Step 400
400
#A2A480
oklch(70.8% 0.05 110.2)
-
Step 500
500
#8B8D60
oklch(63% 0.063 110.2)
-
Step 600
600
#757746
oklch(55.5% 0.069 110.5)
-
Step 700
700
#636438
oklch(49.1% 0.064 109.7)
-
Step 800
800
#50522F
oklch(42.7% 0.053 111.3)
-
Step 900
900 (this color)
#404127
oklch(36.7% 0.041 110.2)
-
Step 950
950
#272819
oklch(27.1% 0.026 111.2)
#404127 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) | #453F25 | 0.010 |
| Deuteranopia (no green cones) | #454028 | 0.009 |
| Tritanopia (no blue cones) | #433E3A | 0.036 |
| Achromatopsia (no color) | #3F3F3F | 0.041 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #404127
#404127
oklch(36.7% 0.041 110.2)
- #3E3B53
#3E3B53
oklch(36.6% 0.041 289.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 #404127, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Olive #373E02 ΔE 0.043
- Charcoal Grey #3C4142 ΔE 0.043
- Onyx #343A40 ΔE 0.056
- Pakistan Green #283618 ΔE 0.059
- Evergreen #05472A ΔE 0.062
- Mud Brown #60460F ΔE 0.064
- Dark Slate Gray #2F4F4F ΔE 0.065
- Pine Green #0A481E ΔE 0.067
Use #404127 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.