#0F5D2F#0F5D2F
#0F5D2F is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.2% C 0.104 H 151.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5D2F |
|---|---|
| RGB | rgb(15, 93, 47) |
| HSL | hsl(145, 72%, 21%) |
| HSV | hsv(145, 84%, 36%) |
| CMYK | cmyk(83.9%, 0%, 49.5%, 63.5%) |
| CIE-LAB | lab(34.26, -34.12, 20.09) |
| CIE-LCH | lch(34.26, 39.59, 149.51°) |
| OKLab | oklab(42.18% -0.0917 0.0493) |
| OKLCH | oklch(42.18% 0.104 151.7) |
| XYZ | xyz(4.6240, 8.1349, 4.0153) |
| Luminance | 0.0814 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.27
Pine
#2B5D34
ΔE00 3.15
Forest Green
#2D5A27
ΔE00 4.54
Hunter Green
#355E3B
ΔE00 5.23
Deep Green
#02590F
ΔE00 5.97
Pine Green
#0A481E
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5D2F #5D0F3D
analogous
#165D0F #0F5D2F #0F5D56
triadic
#0F5D2F #2F0F5D #5D2F0F
tetradic
#0F5D2F #0F165D #5D0F3D #5D560F
square
#0F5D2F #0F165D #5D0F3D #5D560F
split-complementary
#0F5D2F #560F5D #5D0F16
monochromatic
#041A0D #062814 #0F5D2F #17924A #20C664
Accessibility & contrast
On white
7.99
#0F5D2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#0F5D2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5D2F
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5D2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5D2F | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D542B
Deuteranopia (green-blind)
#544E32
Tritanopia (blue-blind)
#005B52
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #0f5d2f; /* rgb */ color: rgb(15, 93, 47); /* oklch */ color: oklch(42.2% 0.104 151.7);
Tailwind
colors: {
custom: {
50: '#5d8c68',
500: '#0f5d2f',
950: '#000000',
},
}SCSS
$custom: #0f5d2f; $custom-light: #5d8c68; $custom-dark: #000000;
JSON
{
"hex": "#0f5d2f",
"rgb": {
"r": 15,
"g": 93,
"b": 47
},
"hsl": {
"h": 144.615,
"s": 72.222,
"l": 21.176
},
"oklch": {
"l": 0.42178,
"c": 0.10408,
"h": 151.7
},
"luminance": 0.08135
}Semantic roles & 50–950 ramp
primary
#0F5D2F
secondary
#96316D
accent
#39A4EF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A