#31946B#31946B
#31946B is a mid, moderate teal. Relative luminance 0.229; OKLCH L 59.8% C 0.111 H 162.0°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #31946B |
|---|---|
| RGB | rgb(49, 148, 107) |
| HSL | hsl(155, 50%, 39%) |
| HSV | hsv(155, 67%, 58%) |
| CMYK | cmyk(66.9%, 0%, 27.7%, 42%) |
| CIE-LAB | lab(54.96, -38.65, 13.48) |
| CIE-LCH | lch(54.96, 40.93, 160.77°) |
| OKLab | oklab(59.82% -0.106 0.0344) |
| OKLCH | oklch(59.82% 0.111 162) |
| XYZ | xyz(14.5089, 22.8928, 17.5612) |
| Luminance | 0.2289 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Viridian
#1E9167
ΔE00 1.69
Ocean Green
#3D9973
ΔE00 2.21
Sea Green
#2E8B57
ΔE00 4.68
Teal Green
#25A36F
ΔE00 5.13
Dark Sea Green
#11875D
ΔE00 5.16
Bluish Green
#10A674
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31946B #94315A
analogous
#319439 #31946B #318B94
triadic
#31946B #6B3194 #946B31
tetradic
#31946B #393194 #94315A #8B9431
square
#31946B #393194 #94315A #8B9431
split-complementary
#31946B #94318B #943931
monochromatic
#133829 #22664A #31946B #42C08C #70D0A8
Accessibility & contrast
On white
3.76
#31946B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#31946B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31946B
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31946B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31946B | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928969
Deuteranopia (green-blind)
#84806E
Tritanopia (blue-blind)
#009489
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #31946b; /* rgb */ color: rgb(49, 148, 107); /* oklch */ color: oklch(59.8% 0.111 162.0);
Tailwind
colors: {
custom: {
50: '#75b495',
500: '#31946b',
950: '#000000',
},
}SCSS
$custom: #31946b; $custom-light: #75b495; $custom-dark: #000000;
JSON
{
"hex": "#31946b",
"rgb": {
"r": 49,
"g": 148,
"b": 107
},
"hsl": {
"h": 155.152,
"s": 50.254,
"l": 38.627
},
"oklch": {
"l": 0.59822,
"c": 0.1114,
"h": 162
},
"luminance": 0.22894
}Semantic roles & 50–950 ramp
primary
#31946B
secondary
#B7698A
accent
#4E88DA
background
#F7FBF9
surface
#EEF6F1
border
#C9D0CB
text
#09110D
muted
#7B807E