#31997A
Closest named color: Ocean Green (#3D9973). oklch(61.5% 0.106 169.2), rgb(49, 153, 122).
Aa
Black text reads best on this color (5.96:1).
About this color
#31997A is a medium-dark, moderately saturated green. In OKLCH its lightness is 62%, its chroma 0.106 and its hue 169°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Ocean Green (#3D9973), ΔE 0.011 away. Black text reads best on it, at 5.96:1.
| Hue family | Greens |
| Lightness | medium-dark (62%) |
| Chroma | moderately saturated (0.106) |
| Temperature | in between |
| Nearest name | Ocean Green (#3D9973) |
| Black text | 5.96:1 |
| White text | 3.51:1 |
Values
| HEX | #31997A |
| RGB | rgb(49, 153, 122) |
| HSL | hsl(162, 51%, 40%) |
| OKLCH | oklch(61.5% 0.106 169.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 #31997A | 3.51:1 | AA large text | Lc -67.9 | Content text, not long reading |
| Black text on #31997A | 5.96:1 | AA | Lc 41.6 | Non-text elements, placeholder text |
| #31997A text on white | 3.51:1 | AA large text | Lc 62.4 | Content text, not long reading |
| #31997A text on black | 5.96: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
#69B298
oklch(70.8% 0.083 169.1)
-
Step 500
500 (this color)
#31997A
oklch(61.5% 0.106 169.2)
-
Step 600
600
#008868
oklch(55.7% 0.112 168.9)
-
Step 700
700
#007257
oklch(49.1% 0.098 169.1)
-
Step 800
800
#005E47
oklch(42.8% 0.086 168.9)
-
Step 900
900
#0E4D3B
oklch(37.7% 0.069 168.9)
-
Step 950
950
#0C2D23
oklch(26.9% 0.043 169.9)
#31997A 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) | #958F78 | 0.107 |
| Deuteranopia (no green cones) | #87847C | 0.104 |
| Tritanopia (no blue cones) | #009A90 | 0.033 |
| Achromatopsia (no color) | #898989 | 0.107 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31997A
#31997A
oklch(61.5% 0.106 169.2)
- #B4698F
#B4698F
oklch(61.6% 0.107 349)
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 #31997A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Ocean Green #3D9973 ΔE 0.011
- Blue Green #0F9B8E ΔE 0.029
- Persian Green #2A9D8F ΔE 0.029
- Viridian #1E9167 ΔE 0.035
- Sea #3C9992 ΔE 0.038
- Dusty Teal #4C9085 ΔE 0.041
- Jade #1FA774 ΔE 0.046
- Grey Teal #5E9B8A ΔE 0.047
Use #31997A 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.