#0F5F26#0F5F26
#0F5F26 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.6% C 0.116 H 147.8°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5F26 |
|---|---|
| RGB | rgb(15, 95, 38) |
| HSL | hsl(137, 73%, 22%) |
| HSV | hsv(137, 84%, 37%) |
| CMYK | cmyk(84.2%, 0%, 60%, 62.7%) |
| CIE-LAB | lab(34.85, -36.48, 25.86) |
| CIE-LCH | lch(34.85, 44.71, 144.66°) |
| OKLab | oklab(42.63% -0.098 0.0617) |
| OKLCH | oklch(42.63% 0.116 147.8) |
| XYZ | xyz(4.6387, 8.4254, 3.2151) |
| Luminance | 0.0843 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.82
Forest Green
#2D5A27
ΔE00 4.03
Pine
#2B5D34
ΔE00 4.44
Spruce
#0A5F38
ΔE00 4.72
Forest
#0B5509
ΔE00 4.95
Darkgreen
#006400
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5F26 #5F0F48
analogous
#205F0F #0F5F26 #0F5F4E
triadic
#0F5F26 #260F5F #5F260F
tetradic
#0F5F26 #0F205F #5F0F48 #5F4E0F
square
#0F5F26 #0F205F #5F0F48 #5F4E0F
split-complementary
#0F5F26 #4E0F5F #5F0F20
monochromatic
#041A0B #072A11 #0F5F26 #17943B #20C950
Accessibility & contrast
On white
7.82
#0F5F26 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#0F5F26 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5F26
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5F26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5F26 | 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)
#605621
Deuteranopia (green-blind)
#57502A
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #0f5f26; /* rgb */ color: rgb(15, 95, 38); /* oklch */ color: oklch(42.6% 0.116 147.8);
Tailwind
colors: {
custom: {
50: '#5d8d62',
500: '#0f5f26',
950: '#000000',
},
}SCSS
$custom: #0f5f26; $custom-light: #5d8d62; $custom-dark: #000000;
JSON
{
"hex": "#0f5f26",
"rgb": {
"r": 15,
"g": 95,
"b": 38
},
"hsl": {
"h": 137.25,
"s": 72.727,
"l": 21.569
},
"oklch": {
"l": 0.42625,
"c": 0.11582,
"h": 147.8
},
"luminance": 0.08426
}Semantic roles & 50–950 ramp
primary
#0F5F26
secondary
#98327B
accent
#38BBEF
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79