#512F09
Closest named color: Dark Olive (#373E02). oklch(34.1% 0.07 63.4), rgb(81, 47, 9).
Aa
White text reads best on this color (11.92:1).
About this color
#512F09 is a dark, moderately saturated brown. In OKLCH its lightness is 34%, its chroma 0.070 and its hue 63°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Olive (#373E02), ΔE 0.067 away. White text reads best on it, at 11.92:1.
| Hue family | Browns |
| Lightness | dark (34%) |
| Chroma | moderately saturated (0.070) |
| Temperature | warm |
| Nearest name | Dark Olive (#373E02) |
| Black text | 1.76:1 |
| White text | 11.92:1 |
Values
| HEX | #512F09 |
| RGB | rgb(81, 47, 9) |
| HSL | hsl(32, 80%, 18%) |
| OKLCH | oklch(34.1% 0.07 63.4) |
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 #512F09 | 11.92:1 | AAA | Lc -100.7 | Preferred for body text |
| Black text on #512F09 | 1.76:1 | Fails | Lc 0.0 | Not readable |
| #512F09 text on white | 11.92:1 | AAA | Lc 97.1 | Preferred for body text |
| #512F09 text on black | 1.76:1 | Fails | Lc 0.0 | 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
#F9F4F1
oklch(97% 0.007 53.4)
-
Step 100
100
#F1E8E0
oklch(93.6% 0.015 64.3)
-
Step 200
200
#E8D5C6
oklch(88.4% 0.029 60.7)
-
Step 300
300
#DABA9E
oklch(80.9% 0.053 63.2)
-
Step 400
400
#C69569
oklch(70.6% 0.084 62.7)
-
Step 500
500
#B77A3E
oklch(63.1% 0.108 63.1)
-
Step 600
600
#A26218
oklch(55.6% 0.117 63.6)
-
Step 700
700
#8B5108
oklch(49.2% 0.109 63.4)
-
Step 800
800
#71420D
oklch(42.6% 0.09 62.7)
-
Step 900
900 (this color)
#512F09
oklch(34.1% 0.07 63.4)
-
Step 950
950
#36210E
oklch(27% 0.044 61.2)
#512F09 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) | #3A3204 | 0.048 |
| Deuteranopia (no green cones) | #423A0A | 0.042 |
| Tritanopia (no blue cones) | #592728 | 0.053 |
| Achromatopsia (no color) | #373737 | 0.070 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #512F09
#512F09
oklch(34.1% 0.07 63.4)
- #113B59
#113B59
oklch(33.9% 0.07 243.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 #512F09, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Olive #373E02 ΔE 0.067
- Chestnut #742802 ΔE 0.073
- Chocolate Brown #411900 ΔE 0.073
- Pakistan Green #283618 ΔE 0.074
- Mud Brown #60460F ΔE 0.075
- Reddy Brown #6E1005 ΔE 0.080
- Charcoal Grey #3C4142 ΔE 0.082
- Onyx #343A40 ΔE 0.083
Use #512F09 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.