#0F5E27#0F5E27
#0F5E27 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.3% C 0.113 H 148.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5E27 |
|---|---|
| RGB | rgb(15, 94, 39) |
| HSL | hsl(138, 72%, 21%) |
| HSV | hsv(138, 84%, 37%) |
| CMYK | cmyk(84%, 0%, 58.5%, 63.1%) |
| CIE-LAB | lab(34.50, -35.94, 24.90) |
| CIE-LCH | lch(34.50, 43.72, 145.28°) |
| OKLab | oklab(42.34% -0.0965 0.0597) |
| OKLCH | oklch(42.34% 0.113 148.3) |
| XYZ | xyz(4.5655, 8.2529, 3.2714) |
| Luminance | 0.0825 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.92
Deep Green
#02590F
ΔE00 4.02
Pine
#2B5D34
ΔE00 4.13
Spruce
#0A5F38
ΔE00 4.35
Forest
#0B5509
ΔE00 5.06
Hunter Green
#355E3B
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5E27 #5E0F46
analogous
#1F5E0F #0F5E27 #0F5E4F
triadic
#0F5E27 #270F5E #5E270F
tetradic
#0F5E27 #0F1F5E #5E0F46 #5E4F0F
square
#0F5E27 #0F1F5E #5E0F46 #5E4F0F
split-complementary
#0F5E27 #4F0F5E #5E0F1F
monochromatic
#041A0B #072911 #0F5E27 #17933D #20C853
Accessibility & contrast
On white
7.92
#0F5E27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#0F5E27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5E27
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5E27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5E27 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5522
Deuteranopia (green-blind)
#564F2B
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #0f5e27; /* rgb */ color: rgb(15, 94, 39); /* oklch */ color: oklch(42.3% 0.113 148.3);
Tailwind
colors: {
custom: {
50: '#5d8c63',
500: '#0f5e27',
950: '#000000',
},
}SCSS
$custom: #0f5e27; $custom-light: #5d8c63; $custom-dark: #000000;
JSON
{
"hex": "#0f5e27",
"rgb": {
"r": 15,
"g": 94,
"b": 39
},
"hsl": {
"h": 138.228,
"s": 72.477,
"l": 21.373
},
"oklch": {
"l": 0.42339,
"c": 0.11349,
"h": 148.3
},
"luminance": 0.08253
}Semantic roles & 50–950 ramp
primary
#0F5E27
secondary
#973178
accent
#39B8EF
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79