#0F5F2B#0F5F2B
#0F5F2B is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.7% C 0.111 H 149.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5F2B |
|---|---|
| RGB | rgb(15, 95, 43) |
| HSL | hsl(141, 73%, 22%) |
| HSV | hsv(141, 84%, 37%) |
| CMYK | cmyk(84.2%, 0%, 54.7%, 62.7%) |
| CIE-LAB | lab(34.92, -35.65, 23.20) |
| CIE-LCH | lch(34.92, 42.53, 146.94°) |
| OKLab | oklab(42.71% -0.0957 0.0561) |
| OKLCH | oklch(42.71% 0.111 149.6) |
| XYZ | xyz(4.7249, 8.4598, 3.6689) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.56
Pine
#2B5D34
ΔE00 3.75
Forest Green
#2D5A27
ΔE00 4.20
Deep Green
#02590F
ΔE00 4.85
Forest
#0B5509
ΔE00 5.88
Hunter Green
#355E3B
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5F2B #5F0F43
analogous
#1B5F0F #0F5F2B #0F5F53
triadic
#0F5F2B #2B0F5F #5F2B0F
tetradic
#0F5F2B #0F1B5F #5F0F43 #5F530F
square
#0F5F2B #0F1B5F #5F0F43 #5F530F
split-complementary
#0F5F2B #530F5F #5F0F1B
monochromatic
#041A0C #072A13 #0F5F2B #179443 #20C95B
Accessibility & contrast
On white
7.80
#0F5F2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#0F5F2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5F2B
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5F2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5F2B | 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)
#605627
Deuteranopia (green-blind)
#57502F
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #0f5f2b; /* rgb */ color: rgb(15, 95, 43); /* oklch */ color: oklch(42.7% 0.111 149.6);
Tailwind
colors: {
custom: {
50: '#5d8d65',
500: '#0f5f2b',
950: '#000000',
},
}SCSS
$custom: #0f5f2b; $custom-light: #5d8d65; $custom-dark: #000000;
JSON
{
"hex": "#0f5f2b",
"rgb": {
"r": 15,
"g": 95,
"b": 43
},
"hsl": {
"h": 141,
"s": 72.727,
"l": 21.569
},
"oklch": {
"l": 0.42705,
"c": 0.11097,
"h": 149.6
},
"luminance": 0.0846
}Semantic roles & 50–950 ramp
primary
#0F5F2B
secondary
#983274
accent
#38AFEF
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A