#0F5E28#0F5E28
#0F5E28 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.4% C 0.113 H 148.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5E28 |
|---|---|
| RGB | rgb(15, 94, 40) |
| HSL | hsl(139, 72%, 21%) |
| HSV | hsv(139, 84%, 37%) |
| CMYK | cmyk(84%, 0%, 57.4%, 63.1%) |
| CIE-LAB | lab(34.52, -35.77, 24.37) |
| CIE-LCH | lch(34.52, 43.28, 145.74°) |
| OKLab | oklab(42.36% -0.0961 0.0586) |
| OKLCH | oklch(42.36% 0.113 148.6) |
| XYZ | xyz(4.5823, 8.2596, 3.3598) |
| Luminance | 0.0826 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.95
Pine
#2B5D34
ΔE00 3.99
Spruce
#0A5F38
ΔE00 4.11
Deep Green
#02590F
ΔE00 4.23
Forest
#0B5509
ΔE00 5.25
Hunter Green
#355E3B
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5E28 #5E0F45
analogous
#1E5E0F #0F5E28 #0F5E50
triadic
#0F5E28 #280F5E #5E280F
tetradic
#0F5E28 #0F1E5E #5E0F45 #5E500F
square
#0F5E28 #0F1E5E #5E0F45 #5E500F
split-complementary
#0F5E28 #500F5E #5E0F1E
monochromatic
#041A0B #072912 #0F5E28 #17933E #20C855
Accessibility & contrast
On white
7.92
#0F5E28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#0F5E28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5E28
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5E28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5E28 | 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)
#5F5523
Deuteranopia (green-blind)
#564F2C
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #0f5e28; /* rgb */ color: rgb(15, 94, 40); /* oklch */ color: oklch(42.4% 0.113 148.6);
Tailwind
colors: {
custom: {
50: '#5d8c63',
500: '#0f5e28',
950: '#000000',
},
}SCSS
$custom: #0f5e28; $custom-light: #5d8c63; $custom-dark: #000000;
JSON
{
"hex": "#0f5e28",
"rgb": {
"r": 15,
"g": 94,
"b": 40
},
"hsl": {
"h": 138.987,
"s": 72.477,
"l": 21.373
},
"oklch": {
"l": 0.42355,
"c": 0.11252,
"h": 148.6
},
"luminance": 0.0826
}Semantic roles & 50–950 ramp
primary
#0F5E28
secondary
#973177
accent
#39B5EF
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A