#0F5F34#0F5F34
#0F5F34 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.102 H 153.7°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5F34 |
|---|---|
| RGB | rgb(15, 95, 52) |
| HSL | hsl(148, 73%, 22%) |
| HSV | hsv(148, 84%, 37%) |
| CMYK | cmyk(84.2%, 0%, 45.3%, 62.7%) |
| CIE-LAB | lab(35.07, -33.93, 18.21) |
| CIE-LCH | lch(35.07, 38.51, 151.78°) |
| OKLab | oklab(42.87% -0.0913 0.0451) |
| OKLCH | oklch(42.87% 0.102 153.7) |
| XYZ | xyz(4.9086, 8.5333, 4.6365) |
| Luminance | 0.0853 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 1.23
Pine
#2B5D34
ΔE00 3.23
Hunter Green
#355E3B
ΔE00 5.00
Forest Green
#2D5A27
ΔE00 5.30
Deep Green
#02590F
ΔE00 7.04
Pine Green
#0A481E
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5F34 #5F0F3A
analogous
#125F0F #0F5F34 #0F5F5C
triadic
#0F5F34 #340F5F #5F340F
tetradic
#0F5F34 #0F125F #5F0F3A #5F5C0F
square
#0F5F34 #0F125F #5F0F3A #5F5C0F
split-complementary
#0F5F34 #5C0F5F #5F0F12
monochromatic
#041A0E #072A17 #0F5F34 #179451 #20C96E
Accessibility & contrast
On white
7.76
#0F5F34 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#0F5F34 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5F34
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5F34 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5F34 | 1.00 | 7.76 | 2.71 | 7.76 |
| #FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5631
Deuteranopia (green-blind)
#565037
Tritanopia (blue-blind)
#005E54
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #0f5f34; /* rgb */ color: rgb(15, 95, 52); /* oklch */ color: oklch(42.9% 0.102 153.7);
Tailwind
colors: {
custom: {
50: '#5d8d6c',
500: '#0f5f34',
950: '#000000',
},
}SCSS
$custom: #0f5f34; $custom-light: #5d8d6c; $custom-dark: #000000;
JSON
{
"hex": "#0f5f34",
"rgb": {
"r": 15,
"g": 95,
"b": 52
},
"hsl": {
"h": 147.75,
"s": 72.727,
"l": 21.569
},
"oklch": {
"l": 0.42874,
"c": 0.1018,
"h": 153.7
},
"luminance": 0.08534
}Semantic roles & 50–950 ramp
primary
#0F5F34
secondary
#983269
accent
#389BEF
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C07
muted
#797D7A