#045C45
Closest named color: Spruce (#0A5F38). oklch(42.2% 0.084 168.2), rgb(4, 92, 69).
Aa
White text reads best on this color (8.00:1).
About this color
#045C45 is a dark, moderately saturated green. In OKLCH its lightness is 42%, its chroma 0.084 and its hue 168°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Spruce (#0A5F38), ΔE 0.025 away. White text reads best on it, at 8.00:1.
| Hue family | Greens |
| Lightness | dark (42%) |
| Chroma | moderately saturated (0.084) |
| Temperature | in between |
| Nearest name | Spruce (#0A5F38) |
| Black text | 2.62:1 |
| White text | 8.00:1 |
Values
| HEX | #045C45 |
| RGB | rgb(4, 92, 69) |
| HSL | hsl(164, 92%, 19%) |
| OKLCH | oklch(42.2% 0.084 168.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 #045C45 | 8.00:1 | AAA | Lc -92.0 | Preferred for body text |
| Black text on #045C45 | 2.62:1 | Fails | Lc 16.7 | Dividers and decoration only |
| #045C45 text on white | 8.00:1 | AAA | Lc 87.3 | Fine for body text |
| #045C45 text on black | 2.62:1 | Fails | Lc -14.8 | 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
#F1F7F4
oklch(97.1% 0.007 164.9)
-
Step 100
100
#E1EDE8
oklch(93.6% 0.014 169.2)
-
Step 200
200
#C9DFD6
oklch(88.5% 0.026 169.2)
-
Step 300
300
#A3CBBB
oklch(80.9% 0.048 168.8)
-
Step 400
400
#6EB197
oklch(70.8% 0.079 167.5)
-
Step 500
500
#409D7E
oklch(63.1% 0.101 168.1)
-
Step 600
600
#0F8767
oklch(55.5% 0.109 168.2)
-
Step 700
700
#007256
oklch(49% 0.099 168.4)
-
Step 800
800 (this color)
#045C45
oklch(42.2% 0.084 168.2)
-
Step 900
900
#144D3B
oklch(37.8% 0.066 167.9)
-
Step 950
950
#0E2D23
oklch(27% 0.042 169.1)
#045C45 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) | #595544 | 0.084 |
| Deuteranopia (no green cones) | #4F4D47 | 0.082 |
| Tritanopia (no blue cones) | #005D56 | 0.027 |
| Achromatopsia (no color) | #505050 | 0.084 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #045C45
#045C45
oklch(42.2% 0.084 168.2)
- #6F3956
#6F3956
oklch(42.3% 0.085 347.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 #045C45, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Spruce #0A5F38 ΔE 0.025
- Pine #2B5D34 ΔE 0.032
- Dark Blue Green #005249 ΔE 0.037
- Dark Green Blue #1F6357 ΔE 0.037
- Deep Teal #00555A ΔE 0.048
- Dark Slate Gray #2F4F4F ΔE 0.057
- Dark Teal #014D4E ΔE 0.058
- Petrol #005F6A ΔE 0.060
Use #045C45 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.