#313121
Closest named color: Pakistan Green (#283618). oklch(30.8% 0.027 107.9), rgb(49, 49, 33).
Aa
White text reads best on this color (13.19:1).
About this color
#313121 is a dark close to neutral grey. In OKLCH its lightness is 31%, its chroma 0.027. It has too little chroma to lean warm or cool. The nearest named color is Pakistan Green (#283618), ΔE 0.030 away. White text reads best on it, at 13.19:1.
| Hue family | Neutrals |
| Lightness | dark (31%) |
| Chroma | close to neutral grey (0.027) |
| Temperature | neutral |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.59:1 |
| White text | 13.19:1 |
Values
| HEX | #313121 |
| RGB | rgb(49, 49, 33) |
| HSL | hsl(60, 20%, 16%) |
| OKLCH | oklch(30.8% 0.027 107.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 #313121 | 13.19:1 | AAA | Lc -102.7 | Preferred for body text |
| Black text on #313121 | 1.59:1 | Fails | Lc 0.0 | Not readable |
| #313121 text on white | 13.19:1 | AAA | Lc 99.5 | Preferred for body text |
| #313121 text on black | 1.59: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 950.
-
Step 50
50
#F6F6F2
oklch(97.2% 0.005 106.5)
-
Step 100
100
#EAEAE3
oklch(93.5% 0.009 106.6)
-
Step 200
200
#DADACD
oklch(88.5% 0.018 106.8)
-
Step 300
300
#C2C3AB
oklch(81% 0.033 109.1)
-
Step 400
400
#A3A37F
oklch(70.6% 0.05 107.6)
-
Step 500
500
#8D8D5E
oklch(63.2% 0.066 108.1)
-
Step 600
600
#777744
oklch(55.7% 0.072 108.5)
-
Step 700
700
#646435
oklch(49.2% 0.067 108.6)
-
Step 800
800
#52512D
oklch(42.7% 0.054 107.1)
-
Step 900
900
#444328
oklch(37.6% 0.042 106.4)
-
Step 950
950 (this color)
#313121
oklch(30.8% 0.027 107.9)
#313121 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) | #343020 | 0.006 |
| Deuteranopia (no green cones) | #343022 | 0.007 |
| Tritanopia (no blue cones) | #332F2D | 0.024 |
| Achromatopsia (no color) | #303030 | 0.027 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #313121
#313121
oklch(30.8% 0.027 107.9)
- #2F2E3D
#2F2E3D
oklch(30.9% 0.027 287.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 #313121, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.030
- Onyx #343A40 ΔE 0.053
- Gunmetal #293241 ΔE 0.056
- Jet #212529 ΔE 0.058
- Dark Olive #373E02 ΔE 0.063
- Space Cadet #2B2D42 ΔE 0.065
- Dark Brown #341C02 ΔE 0.067
- Charcoal Grey #3C4142 ΔE 0.069
Use #313121 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.