#0C4F2E#0C4F2E
#0C4F2E is a dark, moderate teal. Relative luminance 0.059; OKLCH L 37.9% C 0.085 H 155.9°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #0C4F2E |
|---|---|
| RGB | rgb(12, 79, 46) |
| HSL | hsl(150, 74%, 18%) |
| HSV | hsv(150, 85%, 31%) |
| CMYK | cmyk(84.8%, 0%, 41.8%, 69%) |
| CIE-LAB | lab(29.07, -28.89, 13.91) |
| CIE-LCH | lch(29.07, 32.06, 154.29°) |
| OKLab | oklab(37.87% -0.0779 0.0348) |
| OKLCH | oklch(37.87% 0.085 155.9) |
| XYZ | xyz(3.4404, 5.8670, 3.5354) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Evergreen
#05472A
ΔE00 2.64
Pine Green
#0A481E
ΔE00 3.82
Spruce
#0A5F38
ΔE00 5.17
Pine
#2B5D34
ΔE00 5.70
Hunter Green
#355E3B
ΔE00 6.62
Forest Green
#2D5A27
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C4F2E #4F0C2D
analogous
#0C4F0D #0C4F2E #0C4E4F
triadic
#0C4F2E #2E0C4F #4F2E0C
tetradic
#0C4F2E #0D0C4F #4F0C2D #4E4F0C
square
#0C4F2E #0D0C4F #4F0C2D #4E4F0C
split-complementary
#0C4F2E #4F0C4E #4F0D0C
monochromatic
#041B0F #041B0F #0C4F2E #14844D #1CB96C
Accessibility & contrast
On white
9.66
#0C4F2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#0C4F2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C4F2E
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C4F2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C4F2E | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F482C
Deuteranopia (green-blind)
#474230
Tritanopia (blue-blind)
#004E47
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #0c4f2e; /* rgb */ color: rgb(12, 79, 46); /* oklch */ color: oklch(37.9% 0.085 155.9);
Tailwind
colors: {
custom: {
50: '#588167',
500: '#0c4f2e',
950: '#000000',
},
}SCSS
$custom: #0c4f2e; $custom-light: #588167; $custom-dark: #000000;
JSON
{
"hex": "#0c4f2e",
"rgb": {
"r": 12,
"g": 79,
"b": 46
},
"hsl": {
"h": 150.448,
"s": 73.626,
"l": 17.843
},
"oklch": {
"l": 0.3787,
"c": 0.08536,
"h": 155.9
},
"luminance": 0.05867
}Semantic roles & 50–950 ramp
primary
#0C4F2E
secondary
#8B2C5B
accent
#3893F0
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A