#40977C
Closest named color: Ocean Green (#3D9973). oklch(61.5% 0.094 169.9), rgb(64, 151, 124).
Aa
Black text reads best on this color (5.93:1).
About this color
#40977C is a medium-dark, moderately saturated green. In OKLCH its lightness is 62%, its chroma 0.094 and its hue 170°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Ocean Green (#3D9973), ΔE 0.017 away. Black text reads best on it, at 5.93:1.
| Hue family | Greens |
| Lightness | medium-dark (62%) |
| Chroma | moderately saturated (0.094) |
| Temperature | in between |
| Nearest name | Ocean Green (#3D9973) |
| Black text | 5.93:1 |
| White text | 3.53:1 |
Values
| HEX | #40977C |
| RGB | rgb(64, 151, 124) |
| HSL | hsl(161, 40%, 42%) |
| OKLCH | oklch(61.5% 0.094 169.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 #40977C | 3.53:1 | AA large text | Lc -68.2 | Content text, not long reading |
| Black text on #40977C | 5.93:1 | AA | Lc 41.3 | Non-text elements, placeholder text |
| #40977C text on white | 3.53:1 | AA large text | Lc 62.7 | Content text, not long reading |
| #40977C text on black | 5.93:1 | AA | Lc -39.0 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#F2F7F5
oklch(97.2% 0.006 170.4)
-
Step 100
100
#E2EDE8
oklch(93.6% 0.013 167.2)
-
Step 200
200
#CADFD6
oklch(88.5% 0.026 168.2)
-
Step 300
300
#A4CBBC
oklch(81% 0.046 169.7)
-
Step 400
400
#70B099
oklch(70.7% 0.074 169.4)
-
Step 500
500 (this color)
#40977C
oklch(61.5% 0.094 169.9)
-
Step 600
600
#1C866A
oklch(55.5% 0.102 170.1)
-
Step 700
700
#097258
oklch(49.2% 0.096 169.5)
-
Step 800
800
#105D48
oklch(42.8% 0.079 169.4)
-
Step 900
900
#184C3C
oklch(37.7% 0.062 169.3)
-
Step 950
950
#102D23
oklch(27.1% 0.04 168.2)
#40977C 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) | #938E7B | 0.096 |
| Deuteranopia (no green cones) | #86847E | 0.093 |
| Tritanopia (no blue cones) | #0F988F | 0.032 |
| Achromatopsia (no color) | #888888 | 0.095 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40977C
#40977C
oklch(61.5% 0.094 169.9)
- #AF6D8D
#AF6D8D
oklch(61.6% 0.093 349.7)
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 #40977C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Ocean Green #3D9973 ΔE 0.017
- Persian Green #2A9D8F ΔE 0.028
- Blue Green #0F9B8E ΔE 0.029
- Dusty Teal #4C9085 ΔE 0.030
- Sea #3C9992 ΔE 0.031
- Grey Teal #5E9B8A ΔE 0.038
- Slate Green #658D6D ΔE 0.041
- Viridian #1E9167 ΔE 0.041
Use #40977C 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.