#0F5F2D#0F5F2D
#0F5F2D is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.7% C 0.109 H 150.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5F2D |
|---|---|
| RGB | rgb(15, 95, 45) |
| HSL | hsl(143, 73%, 22%) |
| HSV | hsv(143, 84%, 37%) |
| CMYK | cmyk(84.2%, 0%, 52.6%, 62.7%) |
| CIE-LAB | lab(34.95, -35.29, 22.11) |
| CIE-LCH | lch(34.95, 41.65, 147.93°) |
| OKLab | oklab(42.74% -0.0948 0.0538) |
| OKLCH | oklch(42.74% 0.109 150.4) |
| XYZ | xyz(4.7625, 8.4749, 3.8669) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.06
Pine
#2B5D34
ΔE00 3.52
Forest Green
#2D5A27
ΔE00 4.36
Deep Green
#02590F
ΔE00 5.31
Hunter Green
#355E3B
ΔE00 5.66
Forest
#0B5509
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5F2D #5F0F41
analogous
#195F0F #0F5F2D #0F5F55
triadic
#0F5F2D #2D0F5F #5F2D0F
tetradic
#0F5F2D #0F195F #5F0F41 #5F550F
square
#0F5F2D #0F195F #5F0F41 #5F550F
split-complementary
#0F5F2D #550F5F #5F0F19
monochromatic
#041A0D #072A14 #0F5F2D #179446 #20C95F
Accessibility & contrast
On white
7.79
#0F5F2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#0F5F2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5F2D
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5F2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5F2D | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605629
Deuteranopia (green-blind)
#575031
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #0f5f2d; /* rgb */ color: rgb(15, 95, 45); /* oklch */ color: oklch(42.7% 0.109 150.4);
Tailwind
colors: {
custom: {
50: '#5d8d67',
500: '#0f5f2d',
950: '#000000',
},
}SCSS
$custom: #0f5f2d; $custom-light: #5d8d67; $custom-dark: #000000;
JSON
{
"hex": "#0f5f2d",
"rgb": {
"r": 15,
"g": 95,
"b": 45
},
"hsl": {
"h": 142.5,
"s": 72.727,
"l": 21.569
},
"oklch": {
"l": 0.4274,
"c": 0.10897,
"h": 150.4
},
"luminance": 0.08475
}Semantic roles & 50–950 ramp
primary
#0F5F2D
secondary
#983272
accent
#38ABEF
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A