#0F5E2D#0F5E2D
#0F5E2D is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.4% C 0.108 H 150.6°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5E2D |
|---|---|
| RGB | rgb(15, 94, 45) |
| HSL | hsl(143, 72%, 21%) |
| HSV | hsv(143, 84%, 37%) |
| CMYK | cmyk(84%, 0%, 52.1%, 63.1%) |
| CIE-LAB | lab(34.59, -34.90, 21.66) |
| CIE-LCH | lch(34.59, 41.07, 148.18°) |
| OKLab | oklab(42.44% -0.0937 0.0528) |
| OKLCH | oklch(42.44% 0.108 150.6) |
| XYZ | xyz(4.6730, 8.2959, 3.8371) |
| Luminance | 0.0830 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.90
Pine
#2B5D34
ΔE00 3.38
Forest Green
#2D5A27
ΔE00 4.30
Deep Green
#02590F
ΔE00 5.37
Hunter Green
#355E3B
ΔE00 5.54
Forest
#0B5509
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5E2D #5E0F40
analogous
#195E0F #0F5E2D #0F5E55
triadic
#0F5E2D #2D0F5E #5E2D0F
tetradic
#0F5E2D #0F195E #5E0F40 #5E550F
square
#0F5E2D #0F195E #5E0F40 #5E550F
split-complementary
#0F5E2D #550F5E #5E0F19
monochromatic
#041A0D #072914 #0F5E2D #179346 #20C860
Accessibility & contrast
On white
7.90
#0F5E2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#0F5E2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5E2D
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5E2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5E2D | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5529
Deuteranopia (green-blind)
#564F31
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #0f5e2d; /* rgb */ color: rgb(15, 94, 45); /* oklch */ color: oklch(42.4% 0.108 150.6);
Tailwind
colors: {
custom: {
50: '#5d8c67',
500: '#0f5e2d',
950: '#000000',
},
}SCSS
$custom: #0f5e2d; $custom-light: #5d8c67; $custom-dark: #000000;
JSON
{
"hex": "#0f5e2d",
"rgb": {
"r": 15,
"g": 94,
"b": 45
},
"hsl": {
"h": 142.785,
"s": 72.477,
"l": 21.373
},
"oklch": {
"l": 0.4244,
"c": 0.10755,
"h": 150.6
},
"luminance": 0.08296
}Semantic roles & 50–950 ramp
primary
#0F5E2D
secondary
#973171
accent
#39AAEF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A