#0F5942#0F5942
#0F5942 is a dark, moderate teal. Relative luminance 0.076; OKLCH L 41.4% C 0.079 H 166.6°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5942 |
|---|---|
| RGB | rgb(15, 89, 66) |
| HSL | hsl(161, 71%, 20%) |
| HSV | hsv(161, 83%, 35%) |
| CMYK | cmyk(83.1%, 0%, 25.8%, 65.1%) |
| CIE-LAB | lab(33.22, -27.95, 7.19) |
| CIE-LCH | lch(33.22, 28.86, 165.57°) |
| OKLab | oklab(41.45% -0.0772 0.0184) |
| OKLCH | oklch(41.45% 0.079 166.6) |
| XYZ | xyz(4.7522, 7.6391, 6.3772) |
| Luminance | 0.0764 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 5.25
Dark Green Blue
#1F6357
ΔE00 5.88
Dark Blue Green
#005249
ΔE00 6.00
Evergreen
#05472A
ΔE00 6.45
Hunter Green
#355E3B
ΔE00 6.77
Pine
#2B5D34
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5942 #590F26
analogous
#0F591D #0F5942 #0F4B59
triadic
#0F5942 #420F59 #59420F
tetradic
#0F5942 #1D0F59 #590F26 #4B590F
square
#0F5942 #1D0F59 #590F26 #4B590F
split-complementary
#0F5942 #590F4B #591D0F
monochromatic
#041A13 #06251B #0F5942 #188D69 #21C290
Accessibility & contrast
On white
8.31
#0F5942 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#0F5942 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5942
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5942 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5942 | 1.00 | 8.31 | 2.53 | 8.31 |
| #FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#575241
Deuteranopia (green-blind)
#4E4B44
Tritanopia (blue-blind)
#005953
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #0f5942; /* rgb */ color: rgb(15, 89, 66); /* oklch */ color: oklch(41.4% 0.079 166.6);
Tailwind
colors: {
custom: {
50: '#5c8876',
500: '#0f5942',
950: '#000000',
},
}SCSS
$custom: #0f5942; $custom-light: #5c8876; $custom-dark: #000000;
JSON
{
"hex": "#0f5942",
"rgb": {
"r": 15,
"g": 89,
"b": 66
},
"hsl": {
"h": 161.351,
"s": 71.154,
"l": 20.392
},
"oklch": {
"l": 0.41449,
"c": 0.07933,
"h": 166.6
},
"luminance": 0.0764
}Semantic roles & 50–950 ramp
primary
#0F5942
secondary
#93314F
accent
#3A72EE
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050B08
muted
#797C7B