#0F5F2A#0F5F2A
#0F5F2A is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.7% C 0.112 H 149.2°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5F2A |
|---|---|
| RGB | rgb(15, 95, 42) |
| HSL | hsl(140, 73%, 22%) |
| HSV | hsv(140, 84%, 37%) |
| CMYK | cmyk(84.2%, 0%, 55.8%, 62.7%) |
| CIE-LAB | lab(34.91, -35.82, 23.74) |
| CIE-LCH | lch(34.91, 42.97, 146.47°) |
| OKLab | oklab(42.69% -0.0962 0.0573) |
| OKLCH | oklch(42.69% 0.112 149.2) |
| XYZ | xyz(4.7067, 8.4526, 3.5735) |
| Luminance | 0.0845 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.80
Pine
#2B5D34
ΔE00 3.87
Forest Green
#2D5A27
ΔE00 4.14
Deep Green
#02590F
ΔE00 4.64
Forest
#0B5509
ΔE00 5.68
Hunter Green
#355E3B
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5F2A #5F0F44
analogous
#1C5F0F #0F5F2A #0F5F52
triadic
#0F5F2A #2A0F5F #5F2A0F
tetradic
#0F5F2A #0F1C5F #5F0F44 #5F520F
square
#0F5F2A #0F1C5F #5F0F44 #5F520F
split-complementary
#0F5F2A #520F5F #5F0F1C
monochromatic
#041A0C #072A13 #0F5F2A #179441 #20C959
Accessibility & contrast
On white
7.80
#0F5F2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#0F5F2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5F2A
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5F2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5F2A | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605625
Deuteranopia (green-blind)
#57502E
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #0f5f2a; /* rgb */ color: rgb(15, 95, 42); /* oklch */ color: oklch(42.7% 0.112 149.2);
Tailwind
colors: {
custom: {
50: '#5d8d65',
500: '#0f5f2a',
950: '#000000',
},
}SCSS
$custom: #0f5f2a; $custom-light: #5d8d65; $custom-dark: #000000;
JSON
{
"hex": "#0f5f2a",
"rgb": {
"r": 15,
"g": 95,
"b": 42
},
"hsl": {
"h": 140.25,
"s": 72.727,
"l": 21.569
},
"oklch": {
"l": 0.42688,
"c": 0.11196,
"h": 149.2
},
"luminance": 0.08453
}Semantic roles & 50–950 ramp
primary
#0F5F2A
secondary
#983276
accent
#38B2EF
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A