#0F5F27#0F5F27
#0F5F27 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.6% C 0.115 H 148.2°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5F27 |
|---|---|
| RGB | rgb(15, 95, 39) |
| HSL | hsl(138, 73%, 22%) |
| HSV | hsv(138, 84%, 37%) |
| CMYK | cmyk(84.2%, 0%, 58.9%, 62.7%) |
| CIE-LAB | lab(34.87, -36.32, 25.34) |
| CIE-LCH | lch(34.87, 44.28, 145.10°) |
| OKLab | oklab(42.64% -0.0976 0.0606) |
| OKLCH | oklch(42.64% 0.115 148.2) |
| XYZ | xyz(4.6550, 8.4319, 3.3012) |
| Luminance | 0.0843 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 4.01
Forest Green
#2D5A27
ΔE00 4.04
Pine
#2B5D34
ΔE00 4.29
Spruce
#0A5F38
ΔE00 4.50
Forest
#0B5509
ΔE00 5.12
Darkgreen
#006400
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5F27 #5F0F47
analogous
#1F5F0F #0F5F27 #0F5F4F
triadic
#0F5F27 #270F5F #5F270F
tetradic
#0F5F27 #0F1F5F #5F0F47 #5F4F0F
square
#0F5F27 #0F1F5F #5F0F47 #5F4F0F
split-complementary
#0F5F27 #4F0F5F #5F0F1F
monochromatic
#041A0B #072A11 #0F5F27 #17943D #20C952
Accessibility & contrast
On white
7.82
#0F5F27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#0F5F27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5F27
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5F27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5F27 | 1.00 | 7.82 | 2.69 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605622
Deuteranopia (green-blind)
#57502B
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #0f5f27; /* rgb */ color: rgb(15, 95, 39); /* oklch */ color: oklch(42.6% 0.115 148.2);
Tailwind
colors: {
custom: {
50: '#5d8d63',
500: '#0f5f27',
950: '#000000',
},
}SCSS
$custom: #0f5f27; $custom-light: #5d8d63; $custom-dark: #000000;
JSON
{
"hex": "#0f5f27",
"rgb": {
"r": 15,
"g": 95,
"b": 39
},
"hsl": {
"h": 138,
"s": 72.727,
"l": 21.569
},
"oklch": {
"l": 0.4264,
"c": 0.11487,
"h": 148.2
},
"luminance": 0.08432
}Semantic roles & 50–950 ramp
primary
#0F5F27
secondary
#983279
accent
#38B9EF
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79