#31997B
Closest named color: Ocean Green (#3D9973). oklch(61.6% 0.105 169.9), rgb(49, 153, 123).
Aa
Black text reads best on this color (5.97:1).
About this color
#31997B is a medium-dark, moderately saturated green. In OKLCH its lightness is 62%, its chroma 0.105 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.013 away. Black text reads best on it, at 5.97:1.
| Hue family | Greens |
| Lightness | medium-dark (62%) |
| Chroma | moderately saturated (0.105) |
| Temperature | in between |
| Nearest name | Ocean Green (#3D9973) |
| Black text | 5.97:1 |
| White text | 3.51:1 |
Values
| HEX | #31997B |
| RGB | rgb(49, 153, 123) |
| HSL | hsl(163, 51%, 40%) |
| OKLCH | oklch(61.6% 0.105 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 #31997B | 3.51:1 | AA large text | Lc -67.9 | Content text, not long reading |
| Black text on #31997B | 5.97:1 | AA | Lc 41.7 | Non-text elements, placeholder text |
| #31997B text on white | 3.51:1 | AA large text | Lc 62.4 | Content text, not long reading |
| #31997B text on black | 5.97:1 | AA | Lc -39.3 | 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
#F1F7F5
oklch(97.1% 0.007 174.4)
-
Step 100
100
#E1EDE8
oklch(93.6% 0.014 169.2)
-
Step 200
200
#C8E0D6
oklch(88.6% 0.029 168.7)
-
Step 300
300
#A0CCBB
oklch(80.9% 0.052 169.4)
-
Step 400
400
#69B199
oklch(70.6% 0.081 170.5)
-
Step 500
500 (this color)
#31997B
oklch(61.6% 0.105 169.9)
-
Step 600
600
#008869
oklch(55.7% 0.111 169.5)
-
Step 700
700
#007258
oklch(49.1% 0.097 169.9)
-
Step 800
800
#005D48
oklch(42.6% 0.084 170.6)
-
Step 900
900
#0D4D3C
oklch(37.7% 0.068 170.2)
-
Step 950
950
#0C2D23
oklch(26.9% 0.043 169.9)
#31997B 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) | #958F7A | 0.108 |
| Deuteranopia (no green cones) | #86847D | 0.103 |
| Tritanopia (no blue cones) | #009A90 | 0.031 |
| Achromatopsia (no color) | #898989 | 0.106 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31997B
#31997B
oklch(61.6% 0.105 169.9)
- #B4698E
#B4698E
oklch(61.5% 0.106 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 #31997B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Ocean Green #3D9973 ΔE 0.013
- Blue Green #0F9B8E ΔE 0.027
- Persian Green #2A9D8F ΔE 0.028
- Viridian #1E9167 ΔE 0.036
- Sea #3C9992 ΔE 0.037
- Dusty Teal #4C9085 ΔE 0.040
- Grey Teal #5E9B8A ΔE 0.046
- Jade #1FA774 ΔE 0.047
Use #31997B 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.