#0F5C1F#0F5C1F
#0F5C1F is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.6% C 0.118 H 146.0°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5C1F |
|---|---|
| RGB | rgb(15, 92, 31) |
| HSL | hsl(132, 72%, 21%) |
| HSV | hsv(132, 84%, 36%) |
| CMYK | cmyk(83.7%, 0%, 66.3%, 63.9%) |
| CIE-LAB | lab(33.68, -36.36, 28.15) |
| CIE-LCH | lch(33.68, 45.99, 142.25°) |
| OKLab | oklab(41.62% -0.0979 0.066) |
| OKLCH | oklch(41.62% 0.118 146) |
| XYZ | xyz(4.2712, 7.8543, 2.5870) |
| Luminance | 0.0785 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.47
Forest
#0B5509
ΔE00 3.52
Forest Green
#2D5A27
ΔE00 3.80
Pine
#2B5D34
ΔE00 5.12
Darkgreen
#006400
ΔE00 5.43
Spruce
#0A5F38
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5C1F #5C0F4C
analogous
#255C0F #0F5C1F #0F5C45
triadic
#0F5C1F #1F0F5C #5C1F0F
tetradic
#0F5C1F #0F255C #5C0F4C #5C450F
square
#0F5C1F #0F255C #5C0F4C #5C450F
split-complementary
#0F5C1F #450F5C #5C0F25
monochromatic
#041A09 #06270D #0F5C1F #189131 #20C542
Accessibility & contrast
On white
8.17
#0F5C1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#0F5C1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5C1F
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5C1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5C1F | 1.00 | 8.17 | 2.57 | 8.17 |
| #FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5318
Deuteranopia (green-blind)
#554D24
Tritanopia (blue-blind)
#005A4F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #0f5c1f; /* rgb */ color: rgb(15, 92, 31); /* oklch */ color: oklch(41.6% 0.118 146.0);
Tailwind
colors: {
custom: {
50: '#5d8b5d',
500: '#0f5c1f',
950: '#000000',
},
}SCSS
$custom: #0f5c1f; $custom-light: #5d8b5d; $custom-dark: #000000;
JSON
{
"hex": "#0f5c1f",
"rgb": {
"r": 15,
"g": 92,
"b": 31
},
"hsl": {
"h": 132.468,
"s": 71.963,
"l": 20.98
},
"oklch": {
"l": 0.41622,
"c": 0.11813,
"h": 146
},
"luminance": 0.07855
}Semantic roles & 50–950 ramp
primary
#0F5C1F
secondary
#953181
accent
#39C9EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79