#338F7C#338F7C
#338F7C is a mid, moderate teal. Relative luminance 0.218; OKLCH L 59.0% C 0.091 H 176.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #338F7C |
|---|---|
| RGB | rgb(51, 143, 124) |
| HSL | hsl(168, 47%, 38%) |
| HSV | hsv(168, 64%, 56%) |
| CMYK | cmyk(64.3%, 0%, 13.3%, 43.9%) |
| CIE-LAB | lab(53.82, -31.79, 2.15) |
| CIE-LCH | lch(53.82, 31.87, 176.14°) |
| OKLab | oklab(59.04% -0.0911 0.0052) |
| OKLCH | oklch(59.04% 0.091 176.7) |
| XYZ | xyz(14.8241, 21.8024, 22.4919) |
| Luminance | 0.2180 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Teal (survey)
#029386
ΔE00 3.54
Dusty Teal
#4C9085
ΔE00 4.16
Blue Green
#0F9B8E
ΔE00 5.12
Sea
#3C9992
ΔE00 6.08
Greenish Blue
#0B8B87
ΔE00 6.25
Grey Teal
#5E9B8A
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#338F7C #8F3346
analogous
#338F4E #338F7C #33748F
triadic
#338F7C #7C338F #8F7C33
tetradic
#338F7C #4E338F #8F3346 #748F33
square
#338F7C #4E338F #8F3346 #748F33
split-complementary
#338F7C #8F3374 #8F4E33
monochromatic
#13352E #236255 #338F7C #43BCA3 #70CCB9
Accessibility & contrast
On white
3.92
#338F7C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#338F7C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #338F7C
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##338F7C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##338F7C | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A867B
Deuteranopia (green-blind)
#7C7D7D
Tritanopia (blue-blind)
#009189
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #338f7c; /* rgb */ color: rgb(51, 143, 124); /* oklch */ color: oklch(59.0% 0.091 176.7);
Tailwind
colors: {
custom: {
50: '#76b0a1',
500: '#338f7c',
950: '#000000',
},
}SCSS
$custom: #338f7c; $custom-light: #76b0a1; $custom-dark: #000000;
JSON
{
"hex": "#338f7c",
"rgb": {
"r": 51,
"g": 143,
"b": 124
},
"hsl": {
"h": 167.609,
"s": 47.423,
"l": 38.039
},
"oklch": {
"l": 0.59038,
"c": 0.09121,
"h": 176.7
},
"luminance": 0.21804
}Semantic roles & 50–950 ramp
primary
#338F7C
secondary
#B46A79
accent
#516CD7
background
#F7FAF9
surface
#EEF5F2
border
#C9CFCC
text
#09100F
muted
#7B7F7E