#0F5F28#0F5F28
#0F5F28 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.7% C 0.114 H 148.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5F28 |
|---|---|
| RGB | rgb(15, 95, 40) |
| HSL | hsl(139, 73%, 22%) |
| HSV | hsv(139, 84%, 37%) |
| CMYK | cmyk(84.2%, 0%, 57.9%, 62.7%) |
| CIE-LAB | lab(34.88, -36.16, 24.81) |
| CIE-LCH | lch(34.88, 43.85, 145.54°) |
| OKLab | oklab(42.66% -0.0971 0.0595) |
| OKLCH | oklch(42.66% 0.114 148.5) |
| XYZ | xyz(4.6718, 8.4386, 3.3897) |
| Luminance | 0.0844 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 4.06
Pine
#2B5D34
ΔE00 4.14
Deep Green
#02590F
ΔE00 4.21
Spruce
#0A5F38
ΔE00 4.27
Forest
#0B5509
ΔE00 5.30
Hunter Green
#355E3B
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5F28 #5F0F46
analogous
#1E5F0F #0F5F28 #0F5F50
triadic
#0F5F28 #280F5F #5F280F
tetradic
#0F5F28 #0F1E5F #5F0F46 #5F500F
square
#0F5F28 #0F1E5F #5F0F46 #5F500F
split-complementary
#0F5F28 #500F5F #5F0F1E
monochromatic
#041A0B #072A12 #0F5F28 #17943E #20C955
Accessibility & contrast
On white
7.81
#0F5F28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#0F5F28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5F28
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5F28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5F28 | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605623
Deuteranopia (green-blind)
#57502C
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #0f5f28; /* rgb */ color: rgb(15, 95, 40); /* oklch */ color: oklch(42.7% 0.114 148.5);
Tailwind
colors: {
custom: {
50: '#5d8d63',
500: '#0f5f28',
950: '#000000',
},
}SCSS
$custom: #0f5f28; $custom-light: #5d8d63; $custom-dark: #000000;
JSON
{
"hex": "#0f5f28",
"rgb": {
"r": 15,
"g": 95,
"b": 40
},
"hsl": {
"h": 138.75,
"s": 72.727,
"l": 21.569
},
"oklch": {
"l": 0.42656,
"c": 0.11391,
"h": 148.5
},
"luminance": 0.08439
}Semantic roles & 50–950 ramp
primary
#0F5F28
secondary
#983278
accent
#38B6EF
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A