#31996C#31996C
#31996C is a mid, moderate teal. Relative luminance 0.245; OKLCH L 61.2% C 0.117 H 160.8°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #31996C |
|---|---|
| RGB | rgb(49, 153, 108) |
| HSL | hsl(154, 51%, 40%) |
| HSV | hsv(154, 68%, 60%) |
| CMYK | cmyk(68%, 0%, 29.4%, 40%) |
| CIE-LAB | lab(56.60, -40.57, 15.19) |
| CIE-LCH | lch(56.60, 43.32, 159.47°) |
| OKLab | oklab(61.17% -0.1109 0.0386) |
| OKLCH | oklch(61.17% 0.117 160.8) |
| XYZ | xyz(15.3631, 24.5165, 18.1069) |
| Luminance | 0.2452 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Ocean Green
#3D9973
ΔE00 2.00
Viridian
#1E9167
ΔE00 3.08
Teal Green
#25A36F
ΔE00 3.35
Bluish Green
#10A674
ΔE00 4.26
Jade
#1FA774
ΔE00 4.45
Greenish
#40A368
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31996C #99315E
analogous
#319938 #31996C #319299
triadic
#31996C #6C3199 #996C31
tetradic
#31996C #383199 #99315E #929931
square
#31996C #383199 #99315E #929931
split-complementary
#31996C #993192 #993831
monochromatic
#133C2B #226B4B #31996C #44C38C #72D2A9
Accessibility & contrast
On white
3.56
#31996C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.90
#31996C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31996C
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31996C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31996C | 1.00 | 3.56 | 5.90 | 5.90 |
| #FFFFFF | 3.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978E69
Deuteranopia (green-blind)
#89846F
Tritanopia (blue-blind)
#00988D
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #31996c; /* rgb */ color: rgb(49, 153, 108); /* oklch */ color: oklch(61.2% 0.117 160.8);
Tailwind
colors: {
custom: {
50: '#76b896',
500: '#31996c',
950: '#000000',
},
}SCSS
$custom: #31996c; $custom-light: #76b896; $custom-dark: #000000;
JSON
{
"hex": "#31996c",
"rgb": {
"r": 49,
"g": 153,
"b": 108
},
"hsl": {
"h": 154.038,
"s": 51.485,
"l": 39.608
},
"oklch": {
"l": 0.61173,
"c": 0.11741,
"h": 160.8
},
"luminance": 0.24518
}Semantic roles & 50–950 ramp
primary
#31996C
secondary
#BA6C8E
accent
#4D8ADB
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110D
muted
#7B807E